All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-lvm] problem with LVM and fstab...bug?
@ 2004-11-26  7:33 Armen Babikyan
  2004-11-26 17:56 ` Kevin P. Fleming
  0 siblings, 1 reply; 3+ messages in thread
From: Armen Babikyan @ 2004-11-26  7:33 UTC (permalink / raw)
  To: linux-lvm

Hi,

I am seeing unexpected behavior with getting LVM drives to 
automatically mount when I boot my machine.  The expected behavior 
works for one LV but not the other.  I specified these lines in my 
/etc/fstab:

/dev/mapper/vg0-www    /www    ext3    rw                      0       2
/dev/mapper/vg0-uml   /uml    ext3    rw                      0       2

These entries didn't work, so I thought I'd try these next two lines:

/dev/vg0/www    /www    ext3    rw                      0       2
/dev/vg0/uml   /uml    ext3    rw                      0       2

Oddly enough, the uml disk mounts on bootup, while the www one does 
not!  Is it just me, or is this chain of events, rather unexpectedly 
strange:

# umount /uml
# mount /dev/vg0/www
mount: wrong fs type, bad option, bad superblock on /dev/vg0/www,
or too many mounted file systems
# ls -al /dev/vg0/www
lrwx------ 1 root root 19 Nov 26 01:29 /dev/vg0/www -> 
/dev/mapper/vg0-www
# mount /dev/mapper/vg0-www /www
#

But:

# mount /dev/vg0/uml
#

After this, both drives are mounted:

# df
Filesystem           1K-blocks      Used Available Use% Mounted on
[my other partitions]
/dev/mapper/vg0-www   30237648  10572760  18128888  37% /www
/dev/mapper/vg0-uml   10079084    945240   8621844  10% /uml
#

I am running Linux 2.6.8 on an Athlon with LVM on top of software 
RAID5.  Both partitions were created with mkfs -t ext3 (i.e. no special 
options...at least...I don't remember using any special options...).  I 
uncommented the "uml" line from /etc/fstab and rebooted, and saw the 
same sort of behavior.  Any ideas?  Feel free to email me for more 
info.

[side question: why is there a symbolic link from /dev/X/Y to 
/dev/mapper/X-Y anyway?]

Any and all advice is greatly appreciated!

Thanks,

   - Armen

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [linux-lvm] problem with LVM and fstab...bug?
  2004-11-26  7:33 [linux-lvm] problem with LVM and fstab...bug? Armen Babikyan
@ 2004-11-26 17:56 ` Kevin P. Fleming
  2004-11-26 18:07   ` Armen Babikyan
  0 siblings, 1 reply; 3+ messages in thread
From: Kevin P. Fleming @ 2004-11-26 17:56 UTC (permalink / raw)
  To: LVM general discussion and development

Armen Babikyan wrote:

> After this, both drives are mounted:
> 
> # df
> Filesystem           1K-blocks      Used Available Use% Mounted on
> [my other partitions]
> /dev/mapper/vg0-www   30237648  10572760  18128888  37% /www
> /dev/mapper/vg0-uml   10079084    945240   8621844  10% /uml

Please show us the contents of your /proc/mounts after successfully 
mounting them... I suspect your vg0-www does not contain an ext3 
filesystem (but is instead ext2 or some other type), even though you 
think it does.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [linux-lvm] problem with LVM and fstab...bug?
  2004-11-26 17:56 ` Kevin P. Fleming
@ 2004-11-26 18:07   ` Armen Babikyan
  0 siblings, 0 replies; 3+ messages in thread
From: Armen Babikyan @ 2004-11-26 18:07 UTC (permalink / raw)
  To: LVM general discussion and development

Kevin,

Absolutely right.  I accidently made /dev/vg0/www an ext2 drive.  
Thanks!

   - Armen

On Nov 26, 2004, at 12:56 PM, Kevin P. Fleming wrote:

> Armen Babikyan wrote:
>
>> After this, both drives are mounted:
>> # df
>> Filesystem           1K-blocks      Used Available Use% Mounted on
>> [my other partitions]
>> /dev/mapper/vg0-www   30237648  10572760  18128888  37% /www
>> /dev/mapper/vg0-uml   10079084    945240   8621844  10% /uml
>
> Please show us the contents of your /proc/mounts after successfully 
> mounting them... I suspect your vg0-www does not contain an ext3 
> filesystem (but is instead ext2 or some other type), even though you 
> think it does.
>
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@redhat.com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-11-26 18:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-26  7:33 [linux-lvm] problem with LVM and fstab...bug? Armen Babikyan
2004-11-26 17:56 ` Kevin P. Fleming
2004-11-26 18:07   ` Armen Babikyan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.