Austin Gonyou writes:
> Has ANYONE looked into this? It seems pretty serious. Anyone?
> > I'm currently running on a Dell 1550, x3 9GB scsi drives, dual 933Mhz P3,
> > Adaptec AIC-7899 controller, and 512Mb ram. I used the RH 7.1 installer
> > from SGI to install the box. Using LVM 0.9.1-b7 tools.
What kernel is this? The "official" LVM 1.0 uses LVM 0.9.1-beta6! I
have a home-grown RedHat 7.0 with kernel 2.4.3-XFS plus LVM
0.9.1-beta7 (including kernel patch) and on this system it goes like
this:
[root@gilmour /root]# mkfs -t xfs -f /dev/vg01/test
mkfs.xfs: warning - cannot set blocksize on block device /dev/vg01/test:
Invalid argument
meta-data=/dev/vg01/test isize=256 agcount=8, agsize=16000 blks
data = bsize=4096 blocks=128000, imaxpct=25
= sunit=0 swidth=0 blks, unwritten=0
naming =version 2 bsize=4096
log =internal log bsize=4096 blocks=1200
realtime =none extsz=65536 blocks=0, rtextents=0
[root@gilmour /root]# mount /dev/vg01/test /mnt/tmp
[root@gilmour /root]# mount
/dev/sda1 on / type ext2 (rw)
none on /proc type proc (rw)
usbdevfs on /proc/bus/usb type usbdevfs (rw)
/dev/vg01/tmp on /tmp type xfs (rw)
/dev/vg01/var-xfs on /var type xfs (rw)
/dev/vg01/usr-xfs on /usr type xfs (rw)
/dev/vg01/ftp-rfs on /var/ftp type reiserfs (rw)
none on /dev/pts type devpts (rw,gid=5,mode=620)
automount(pid8197) on /remote type autofs
(rw,fd=5,pgrp=8197,minproto=2,maxproto=3)
automount(pid8255) on /- type autofs (rw,fd=5,pgrp=8255,minproto=2,maxproto=3)
automount(pid8226) on /home type autofs
(rw,fd=5,pgrp=8226,minproto=2,maxproto=3)
automount(pid8185) on /misc type autofs
(rw,fd=5,pgrp=8185,minproto=2,maxproto=3)
cepheus:/export/home/js on /home/js type nfs (rw,addr=192.168.1.2)
cepheus:/export/mail on /remote/mail type nfs (rw,addr=192.168.1.2)
/dev/vg01/test on /mnt/tmp type xfs (rw)
[root@gilmour /root]# lvextend -L 600 /dev/vg01/test
lvextend -- extending logical volume "/dev/vg01/test" to 600 MB
lvextend -- doing automatic backup of volume group "vg01"
lvextend -- logical volume "/dev/vg01/test" successfully extended
[root@gilmour /root]# df
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/sda1 2016016 1642956 270648 86% /
/dev/vg01/tmp 507200 280 506920 1% /tmp
/dev/vg01/var-xfs 507200 76744 430456 16% /var
/dev/vg01/usr-xfs 3067200 2652836 414364 87% /usr
/dev/vg01/ftp-rfs 2047932 1592760 455172 78% /var/ftp
cepheus:/export/home/js
8603615 7924063 233349 98% /home/js
cepheus:/export/mail 8603615 7924063 233349 98% /remote/mail
/dev/vg01/test 507200 144 507056 1% /mnt/tmp
[root@gilmour /root]# xfs_growfs /mnt/tmp
meta-data=/mnt/tmp isize=256 agcount=8, agsize=16000 blks
data = bsize=4096 blocks=128000, imaxpct=25
= sunit=0 swidth=0 blks, unwritten=0
naming =version 2 bsize=4096
log =internal bsize=4096 blocks=1200
realtime =none extsz=65536 blocks=0, rtextents=0
data blocks changed from 128000 to 153600
[root@gilmour /root]# df
Filesystem 1k-blocks Used Available Use% Mounted on
[...]
/dev/vg01/test 609600 176 609424 1% /mnt/tmp
[root@gilmour /root]# lvextend -L 700 /dev/vg01/test
lvextend -- extending logical volume "/dev/vg01/test" to 700 MB
lvextend -- doing automatic backup of volume group "vg01"
lvextend -- logical volume "/dev/vg01/test" successfully extended
[root@gilmour /root]# xfs_growfs /mnt/tmp
meta-data=/mnt/tmp isize=256 agcount=10, agsize=16000 blks
data = bsize=4096 blocks=153600, imaxpct=25
= sunit=0 swidth=0 blks, unwritten=0
naming =version 2 bsize=4096
log =internal bsize=4096 blocks=1200
realtime =none extsz=65536 blocks=0, rtextents=0
data blocks changed from 153600 to 179200
[root@gilmour /root]# df
Filesystem 1k-blocks Used Available Use% Mounted on
[...]
/dev/vg01/test 712000 208 711792 1% /mnt/tmp
[root@gilmour /root]# lvextend -L +2M /dev/vg01/test
lvextend -- rounding size to physical extent boundary
lvextend -- extending logical volume "/dev/vg01/test" to 704 MB
lvextend -- doing automatic backup of volume group "vg01"
lvextend -- logical volume "/dev/vg01/test" successfully extended
[root@gilmour /root]# xfs_growfs /mnt/tmp
meta-data=/mnt/tmp isize=256 agcount=12, agsize=16000 blks
data = bsize=4096 blocks=179200, imaxpct=25
= sunit=0 swidth=0 blks, unwritten=0
naming =version 2 bsize=4096
log =internal bsize=4096 blocks=1200
realtime =none extsz=65536 blocks=0, rtextents=0
data blocks changed from 179200 to 180224
[root@gilmour /root]# df
[...]
/dev/vg01/test 716096 208 715888 1% /mnt/tmp
Bye,
Jochen
--
----------------------------------------------------------------
Nextra Baden-Wuerttemberg | Jochen Scharrlach
Communication Service Provider GmbH | Technik
Sophienstr.26 | Tel.: +49 (0)711 96683-5
D-70178 Stuttgart | Fax: +49 (0)711 96683-99
----------------------------------------------------------------
"An innovation a day keeps the monopolist away" -- Alan Cox
|