Reducing logical volume space. Will it destroy the data Please advice.
unix syzadmin
unixsyzadmin at gmail.com
Thu Feb 16 11:30:52 UTC 2006
Hi,
Thanks for the info.
I am wondering if I can use the e2fsadm command at all. Does the e2fsadm
command work for ext3 filesystem (/dev/vg00/backup is ext3 filesystem). The
manual page for e2fsadm command mentions only about ext2 filesystem. Please
suggest.
root at bangapps 9.1]# df -T
Filesystem Type 1K-blocks Used Available Use% Mounted on
/dev/sda6 ext3 4127076 318044 3599388 9% /
/dev/sda1 ext3 101089 25878 69992 27% /boot
/dev/sda9 ext3 107470556 74325992 27685280 73% /installers
/dev/vg00/LV00
ext2 102488500 92929728 4352756 96% /export/home
/dev/vg00/logs
ext3 35886164 34059772 3672 100% /logs
/dev/vg00/bealogs
ext3 5039616 4627776 155840 97% /bealogs
/dev/sda3 ext3 6048352 34604 5706508 1% /opt
none tmpfs 2045776 0 2045776 0% /dev/shm
/dev/sda8 ext3 2063504 32872 1925812 2% /tmp
/dev/sda2 ext3 15116868 2067484 12281480 15% /usr
/dev/sda7 ext3 2063504 145256 1813428 8% /var
/dev/vg00/backup
ext3 102002024 18301664 78518920 19% /backup
Regards,
-GnanaShekar-
On 2/16/06, Jack Challen <jack_challen at ocsl.co.uk> wrote:
>
> unix syzadmin wrote:
> > We have a RHEL AS3 server.
> > I want to execute the following command to reduce logical volume space.
> > "e2fsadm -L -15G /dev/vg00/backup"
> > Will it destroy the data Please advice.
>
> It shouldn't do. You'll have to umount the filesystem first (you can't
> shrink a mounted filesystem), but it should do what you want. However,
> _always_ make backups and (just as important) make sure the backups
> work! Incidentally, I'd suggest upgrading to RHEL4 as it includes LVM2
> which is _better_in_every_way.
>
> jack
>
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>
More information about the redhat-list
mailing list