Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Mirror Fedora 6 disk

Status
Not open for further replies.

warrenliang

IS-IT--Management
May 3, 2004
117
US
Morning:
I have a Fedora 6 system. It has 2 8G scsi disks. The installation creates LV's by striping those 2 disks. I like to remove the 2nd disk from VolGroup00 and mirror them, where can I find the procedure?
Current file systems as:
/dev/mapper/VolGroup00-LogVol00 16663980 2583056 13220764 17% /
/dev/sda1 101086 10916 84951 12% /boot
tmpfs 127568 0 127568 0% /dev/shm

Thanks.
Warren L.
 
The short answer will be to backup all your data and do a reformat & reinstall.

If you still want to do it the hard way, you'll need to run resize2fs to shrink your current filesystem. Then use lvm to shrink your current LV and remove the 2nd PV from the existing VG. Once you've got that all done, follow this discussion we had the other day.

--== Anything can go wrong. It's just a matter of how far wrong it will go till people think its right. ==--
 
I found this bit on resizing a filesystem if you are still interested.

--== Anything can go wrong. It's just a matter of how far wrong it will go till people think its right. ==--
 
I have to go for zeland's choice of backup and restore, as a filesystem shrink will not free your disk ( stripe is equally divided writes over 2 or more disks )

rgds,

R.
 
RMGBELGIUM:
With LVM, you are able to move the PEs from one PV to another thus freeing a disk.



--== Anything can go wrong. It's just a matter of how far wrong it will go till people think its right. ==--
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top