vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hi folks I take 6 disks (LUNs)from a san box (listed by lspv as dlmfdrv...). Give the 6 disks a pvid ... Now I create a volumegroup of three LUNs, create a logical volume and mirrored this lv to the other three disks. So far so good, now I try to create a filesystem (jfs2) on the previously defined lv, but system says, that there is no enough free space to create a filesystem. Correct, a lsvg <vgname> show me, there are no free PPs at all ... What is going on here, no other filesystem resides in this vg nor the lv was used for other filesystem... When I remove the lv, I see the whole number of free PPs ... Again I create the lv, same result - no more free PPs I don't understand whats happen ... Any hints are welcome Friedhelm |
| |||
| In article <e0bo61$2mm$1@online.de>, Friedhelm Neyer <Friedhelm.Neyer@t-online.de> wrote: > > I take 6 disks (LUNs)from a san box (listed by lspv as dlmfdrv...). > Give the 6 disks a pvid ... > Now I create a volumegroup of three LUNs, create a logical volume > and mirrored this lv to the other three disks. > So far so good, now I try to create a filesystem (jfs2) on the > previously defined lv, but system says, that there is no enough free > space to create a filesystem. > Correct, a lsvg <vgname> show me, there are no free PPs at all ... > > What is going on here, no other filesystem resides in this vg nor the lv > was used for other filesystem... > > When I remove the lv, I see the whole number of free PPs ... > > Again I create the lv, same result - no more free PPs You need to leave at least one PP free for the jfs (or jfs2) log LV. If that does not help, then please post output of: # lsvg -l <vgname> and # lsvg <vgname> -Dan |
| |||
| Dan Foster wrote: > In article <e0bo61$2mm$1@online.de>, Friedhelm Neyer <Friedhelm.Neyer@t-online.de> wrote: > >> I take 6 disks (LUNs)from a san box (listed by lspv as dlmfdrv...). Give the 6 disks a pvid ... >> Now I create a volumegroup of three LUNs, create a logical volume and mirrored this lv to the >> other three disks. So far so good, now I try to create a filesystem (jfs2) on the previously >> defined lv, but system says, that there is no enough free space to create a filesystem. > > > You need to leave at least one PP free for the jfs (or jfs2) log LV. Actually, for jfs2 with inline log this is not needed. Are you working from command line or via smit? You should have something like: crfs -v jfs2 -a logname=INLINE -d <your LV> ..etc (NOT the mkfs command). Eric |
| |||
| Dan Foster wrote: > In article <e0bo61$2mm$1@online.de>, Friedhelm Neyer <Friedhelm.Neyer@t-online.de> wrote: > >>I take 6 disks (LUNs)from a san box (listed by lspv as dlmfdrv...). >>Give the 6 disks a pvid ... >>Now I create a volumegroup of three LUNs, create a logical volume >>and mirrored this lv to the other three disks. >>So far so good, now I try to create a filesystem (jfs2) on the >>previously defined lv, but system says, that there is no enough free >>space to create a filesystem. >>Correct, a lsvg <vgname> show me, there are no free PPs at all ... >> >>What is going on here, no other filesystem resides in this vg nor the lv >>was used for other filesystem... >> >>When I remove the lv, I see the whole number of free PPs ... >> >>Again I create the lv, same result - no more free PPs > > > You need to leave at least one PP free for the jfs (or jfs2) log LV. > > If that does not help, then please post output of: > > # lsvg -l <vgname> > > and > > # lsvg <vgname> > > -Dan ... yep, thats it - no idea, how I can forgot this ... |
| |||
| Eric.Jones wrote: > Dan Foster wrote: > >> In article <e0bo61$2mm$1@online.de>, Friedhelm Neyer >> <Friedhelm.Neyer@t-online.de> wrote: >> >>> I take 6 disks (LUNs)from a san box (listed by lspv as dlmfdrv...). >>> Give the 6 disks a pvid ... >>> Now I create a volumegroup of three LUNs, create a logical volume >>> and mirrored this lv to the >>> other three disks. So far so good, now I try to create a filesystem >>> (jfs2) on the previously >>> defined lv, but system says, that there is no enough free space to >>> create a filesystem. >> >> >> >> You need to leave at least one PP free for the jfs (or jfs2) log LV. > > > Actually, for jfs2 with inline log this is not needed. > > Are you working from command line or via smit? > > You should have something like: crfs -v jfs2 -a logname=INLINE -d <your > LV> ..etc > (NOT the mkfs command). > > > Eric Just out of curiosity, what is wrong with the "mkfs" command? |
| |||
| 0xDEADABE wrote: > Eric.Jones wrote: > >> Dan Foster wrote: >> >>> In article <e0bo61$2mm$1@online.de>, Friedhelm Neyer >>> <Friedhelm.Neyer@t-online.de> wrote: >>> >>>> I take 6 disks (LUNs)from a san box (listed by lspv as dlmfdrv...). >>>> Give the 6 disks a pvid ... <snipped> >>>> but system says, that there is no enough free space to >>>> create a filesystem. >>> >>> >>> You need to leave at least one PP free for the jfs (or jfs2) log LV. >> >> >> >> Actually, for jfs2 with inline log this is not needed. >> >> Are you working from command line or via smit? >> >> You should have something like: crfs -v jfs2 -a logname=INLINE -d >> <your LV> ..etc >> (NOT the mkfs command). >> >> >> Eric > > > > Just out of curiosity, what is wrong with the "mkfs" command? > Nothing wrong with mkfs, it also allows a similar option: -o log=INLINE .. But it makes the filesystem on a raw/block device, and the OP wanted to use an LV created previously. As I recall, if you use mkfs and give an LV device name by mistake (ie. /dev/myNiceLV) it will ask once about overwriting existing object, and if you answer (Y)es it wipes it out and builds it directly on the device, based on the -s <size> option. Valid, but maybe not exactly what was wanted. Eric |
| ||||
| the LUNs are already in a RAID configuration on the array! There is absolutely no reason to mirror them unless you just want to degrade performance and waste space. Friedhelm Neyer wrote: > > ... I know, but the request from my customer is to mirror the whole > stuff on lv level - so I do it ... |
| Thread Tools | |
| Display Modes | |
|
|