On Tue, 29 Jun 2004, Andy Engels wrote:

> I'm dropping in some software and all of a sudden I'm out of space.  Is
> there a way to verify that /home is really the mounted logical volume file
> system?

As usual with UNIX/Linux, there's more than one way to see what your
mounted filesystems are.  Two common examples (these from an i386 system):

$ mount
/dev/root on / type ext3 (rw)
none on /dev type devfs (rw)
none on /proc type proc (rw)
/dev/hda2 on /usr type ext3 (rw)
none on /dev/shm type tmpfs (rw)
/dev/vg0/newhome on /home type ext3 (rw)
/dev/hdc1 on /mnt/hdc1 type ext3 (rw)
/mnt/hdc1/ISOs on /home/samba/ISOs type none (rw,bind)
none on /proc/bus/usb type usbfs (rw)

$ df
Filesystem          1K-blocks      Used Available Use% Mounted on
/dev/root             1921156   1305408    518156  72% /
/dev/hda2             9614148   3002532   6123240  33% /usr
none                   516288         0    516288   0% /dev/shm
/dev/vg0/newhome     41284928  26131060  13056716  67% /home
/dev/hdc1            76922968  48704152  24311284  67% /mnt/hdc1
/mnt/hdc1/ISOs       76922968  48704152  24311284  67% /home/samba/ISOs

mount just tells you what's mounted where, df gives you utilisation data
as well.  You can see in these examples that my /home is on an LV, so you
should see something very similar on your system if /home is mounted
correctly.

If it's not, the problem might be that /etc/fstab was not updated after
the LV was created and formatted.  You'll need to fix that, but not before
moving the existing /home into the LV (without overwriting what may
already be on the LV, if it was at some stage successfully mounted).  Mark
has some hints on moving filesystems on linuxvm.org that might be useful
to you for this.

Cheers,
Vic Cross

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to