On 07/09/2007 10:15 AM, Justin Conover wrote: > On 7/7/07, Justin Conover <justin.conover@xxxxxxxxx> wrote: >> >> I just noticed something on my desktop running F7. >> >> /usr was at 100%, then I noticed /usr/local was also at 100%, both being >> different lvm/fs. Some how both are the same size and file up at the >> same >> time..... extend one of them and the other grows....whats up with this? >> >> Example, I'll add some space to /usr >> >> >> [root@echelon ~]# df -h /usr /usr/local/ >> Filesystem Size Used Avail Use% Mounted on >> /dev/mapper/rootvg-usrlv >> 9.7G 7.4G 1.9G 80% /usr >> /dev/mapper/rootvg-locallv >> 9.7G 7.4G 1.9G 80% /usr/local >> # ls -l /dev/mapper/ >> total 0 >> crw------- 1 root root 10, 63 2007-07-07 04:35 control >> brw-rw---- 1 root disk 253, 4 2007-07-07 09:35 rootvg-homelv >> brw-rw---- 1 root disk 253, 3 2007-07-07 09:35 rootvg-locallv >> brw-rw---- 1 root disk 253, 2 2007-07-07 09:35 rootvg-optlv >> brw-rw---- 1 root disk 253, 0 2007-07-07 09:35 rootvg-rootlv >> brw-rw---- 1 root disk 253, 7 2007-07-07 04:35 rootvg-swaplv >> brw-rw---- 1 root disk 253, 5 2007-07-07 09:35 rootvg-tmplv >> brw-rw---- 1 root disk 253, 6 2007-07-07 09:35 rootvg-usrlv >> brw-rw---- 1 root disk 253, 1 2007-07-07 09:35 rootvg-varlv >> >> # ls -l /dev/rootvg/ >> total 0 >> lrwxrwxrwx 1 root root 25 2007-07-07 04:35 homelv -> >> /dev/mapper/rootvg-homelv >> lrwxrwxrwx 1 root root 26 2007-07-07 04:35 locallv -> >> /dev/mapper/rootvg-locallv >> lrwxrwxrwx 1 root root 24 2007-07-07 04:35 optlv -> >> /dev/mapper/rootvg-optlv >> lrwxrwxrwx 1 root root 25 2007-07-07 04:35 rootlv -> >> /dev/mapper/rootvg-rootlv >> lrwxrwxrwx 1 root root 25 2007-07-07 04:35 swaplv -> >> /dev/mapper/rootvg-swaplv >> lrwxrwxrwx 1 root root 24 2007-07-07 04:35 tmplv -> >> /dev/mapper/rootvg-tmplv >> lrwxrwxrwx 1 root root 24 2007-07-07 09:38 usrlv -> >> /dev/mapper/rootvg-usrlv >> lrwxrwxrwx 1 root root 24 2007-07-07 04:35 varlv -> >> /dev/mapper/rootvg-varlv >> >> [root@echelon ~]# lvextend -L+1G /dev/rootvg/usrlv >> Extending logical volume usrlv to 11.00 GB >> Logical volume usrlv successfully resized >> >> [root@echelon ~]# resize2fs /dev/rootvg/usrlv >> resize2fs 1.39 (29-May-2006) >> Filesystem at /dev/rootvg/usrlv is mounted on /usr; on-line resizing >> required >> Performing an on-line resize of /dev/rootvg/usrlv to 2883584 (4k) blocks. >> The filesystem on /dev/rootvg/usrlv is now 2883584 blocks long. >> >> And the WHAT? Compare this to the first one at 9.7G >> >> [root@echelon ~]# df -h /usr /usr/local/ >> Filesystem Size Used Avail Use% Mounted on >> /dev/mapper/rootvg-usrlv >> 11G 7.4G 2.8G 73% /usr >> /dev/mapper/rootvg-locallv >> 11G 7.4G 2.8G 73% /usr/local >> >> This tells me my box is on crack, outside of that, not sure what is going >> on here. >> >> > Interesting, my box at work is the same case. It seems during install that > doing an LVM for a seperate /usr and /usr/local breaks...... > It's mounting the filesystems in the wrong order, so /usr hides /usr/local. Whee... -- fedora-test-list mailing list fedora-test-list@xxxxxxxxxx To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-test-list