[linux-lvm] Totally confused

Stuart Felenstein stuart4m at yahoo.com
Thu Jan 1 11:29:03 UTC 2004


Worked like a charm! Thank you.  
Originally I had it mounted off /opt , but somehow mucked it up when I recreated it.
 
Stuart

Lance Dillon <ldillon at sk-tech.com> wrote:
On Wed, 31 Dec 2003, Stuart Felenstein wrote:

> I thought I understood LVM and set it up correctly on
> my /dev/hda3. Somethings is wrong though. Here is
> the output from lvdisplay:
> 
> LV Name /dev/Volume00/videos
> VG Name Volume00
> LV Write Access read/write
> LV Status available
> LV# 1
> #open 1
> LV Size 68.67 GB
> Current LE 17579
> Allocated LE 17579
> Allocation next free
> Read ahead sectors 1024
> Block device 58:0 
> 
> After the LV was created I did
> mkfs ext3 -m 0 -T largefile /dev/Volume00/videos
> 
> Oddities (to me), I try to cd /dev/Volume00/videos - I
> get a no directory. cd to /dev/Volume00 is
> acccessible and can be written to. 
> I assumed that i was going to have a videos partition
> with 68.67 GB available. It looks like I have about
> 10 megs or something like that as 5 minutes of mpgeg
> gave me a "device out of space".
> 
> This is lvm 1.08 , straight from kernel 2.4.23
> builtin.
> 
> Am I just not doing something correct here?
> 
> Thanks
> Stuart
> 

The problem is that /dev/Volume00/videos is not the directory, but the 
device that you mount onto a directory. Try this instead:

mke2fs -j -T largefile -m 0 /dev/Volume000/videos
mkdir /videos
mount -t ext3 /dev/Volume00/videos /videos

This mounts the /dev/Volume00/videos lv onto the location /videos. You 
can mount it anywhere you like, of course.

Now you can write your files under /videos.

l



_______________________________________________
linux-lvm mailing list
linux-lvm at sistina.com
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/linux-lvm/attachments/20040101/30f63eac/attachment.htm>


More information about the linux-lvm mailing list