Hi, all,
WE have a 25 GB file system that is not performing well for us. In
order to help matters, I have shuffled things around to allow VM access to a
greater number of channel paths to our DASD subsystem (a Storagetek V2X). I
have formatted the new volumes and done the pvcreate and vgcreate commands, but
when I issue the lvcreate command to create the actual logical volume I am
getting an error.
A few questions:
1. What is the optimal stripe size for a 3390-3 device?
2. I have 12 volumes I will be using, but only 8 channel paths
to those volumes. Would I be better off to use 8 stripes or 12?
3. I have 27 GB available in the volume group, so why am I
getting the "not enough allocatable/free volume space" message?
Here is a transcript of what I am attempting (vgdocs02 and lvdocs02 are the new
things):
[EMAIL PROTECTED] root]# pvscan
pvscan -- reading all physical volumes (this may take a while...)
pvscan -- ACTIVE PV "/dev/dasdf1" of VG "vgdb01" [6.84 GB / 0 free]
pvscan -- ACTIVE PV "/dev/dasdg1" of VG "vgdb01" [6.84 GB / 0 free]
pvscan -- ACTIVE PV "/dev/dasdh1" of VG "vgdb01" [6.84 GB / 0 free]
pvscan -- ACTIVE PV "/dev/dasdi1" of VG "vgdb01" [6.84 GB / 0 free]
pvscan -- ACTIVE PV "/dev/dasdj1" of VG "vgdb01" [6.84 GB / 0 free]
pvscan -- ACTIVE PV "/dev/dasdk1" of VG "vgdb01" [6.84 GB / 0 free]
pvscan -- ACTIVE PV "/dev/dasdl1" of VG "vgdb01" [6.84 GB / 0 free]
pvscan -- ACTIVE PV "/dev/dasdm1" of VG "vgdb01" [6.84 GB / 0 free]
pvscan -- ACTIVE PV "/dev/dasdn1" of VG "vgdb01" [6.84 GB / 0 free]
pvscan -- ACTIVE PV "/dev/dasdo1" of VG "vgdb01" [6.84 GB / 0 free]
pvscan -- ACTIVE PV "/dev/dasdp1" of VG "vgdb01" [6.84 GB / 0 free]
pvscan -- ACTIVE PV "/dev/dasdq1" of VG "vgdb01" [6.84 GB / 0 free]
pvscan -- ACTIVE PV "/dev/dasdr1" of VG "vgdocs01" [2.25 GB / 0 free]
pvscan -- ACTIVE PV "/dev/dasds1" of VG "vgdocs01" [2.25 GB / 0 free]
pvscan -- ACTIVE PV "/dev/dasdt1" of VG "vgdocs01" [2.25 GB / 0 free]
pvscan -- ACTIVE PV "/dev/dasdu1" of VG "vgdocs01" [2.25 GB / 0 free]
pvscan -- ACTIVE PV "/dev/dasdv1" of VG "vgdocs01" [2.25 GB / 0 free]
pvscan -- ACTIVE PV "/dev/dasdw1" of VG "vgdocs01" [2.25 GB / 0 free]
pvscan -- ACTIVE PV "/dev/dasdx1" of VG "vgdocs01" [2.25 GB / 0 free]
pvscan -- ACTIVE PV "/dev/dasdy1" of VG "vgdocs01" [2.25 GB / 0 free]
pvscan -- ACTIVE PV "/dev/dasdaa1" of VG "vgdocs01" [2.25 GB / 0 free]
pvscan -- ACTIVE PV "/dev/dasdab1" of VG "vgdocs01" [2.25 GB / 0 free]
pvscan -- ACTIVE PV "/dev/dasdac1" of VG "vgdocs01" [2.25 GB / 0 free]
pvscan -- ACTIVE PV "/dev/dasdad1" of VG "vgdocs01" [2.25 GB / 1.25 GB free]
pvscan -- ACTIVE PV "/dev/dasdai1" of VG "vgdocs02" [2.25 GB / 2.25 GB free]
pvscan -- ACTIVE PV "/dev/dasdaj1" of VG "vgdocs02" [2.25 GB / 2.25 GB free]
pvscan -- ACTIVE PV "/dev/dasdak1" of VG "vgdocs02" [2.25 GB / 2.25 GB free]
pvscan -- ACTIVE PV "/dev/dasdal1" of VG "vgdocs02" [2.25 GB / 2.25 GB free]
pvscan -- ACTIVE PV "/dev/dasdam1" of VG "vgdocs02" [2.25 GB / 2.25 GB free]
pvscan -- ACTIVE PV "/dev/dasdan1" of VG "vgdocs02" [2.25 GB / 2.25 GB free]
pvscan -- ACTIVE PV "/dev/dasdao1" of VG "vgdocs02" [2.25 GB / 2.25 GB free]
pvscan -- ACTIVE PV "/dev/dasdap1" of VG "vgdocs02" [2.25 GB / 2.25 GB free]
pvscan -- ACTIVE PV "/dev/dasdaq1" of VG "vgdocs02" [2.25 GB / 2.25 GB free]
pvscan -- ACTIVE PV "/dev/dasdar1" of VG "vgdocs02" [2.25 GB / 2.25 GB free]
pvscan -- ACTIVE PV "/dev/dasdas1" of VG "vgdocs02" [2.25 GB / 2.25 GB free]
pvscan -- ACTIVE PV "/dev/dasdat1" of VG "vgdocs02" [2.25 GB / 2.25 GB free]
pvscan -- total: 36 [137.53 GB] / in use: 36 [137.53 GB] / in no VG: 0 [0]
[EMAIL PROTECTED] root]# vgscan
vgscan -- reading all physical volumes (this may take a while...)
vgscan -- found active volume group "vgdb01"
vgscan -- found active volume group "vgdocs01"
vgscan -- found active volume group "vgdocs02"
vgscan -- "/etc/lvmtab" and "/etc/lvmtab.d" successfully created
vgscan -- WARNING: This program does not do a VGDA backup of your volume groups
[EMAIL PROTECTED] root]# vgdisplay vgdocs02
--- Volume group ---
VG Name vgdocs02
VG Access read/write
VG Status available/resizable
VG # 2
MAX LV 256
Cur LV 0
Open LV 0
MAX LV Size 2 TB
Max PV 256
Cur PV 12
Act PV 12
VG Size 27 GB
PE Size 32 MB
Total PE 864
Alloc PE / Size 0 / 0
Free PE / Size 864 / 27 GB
VG UUID HFK82N-4DWM-GkFl-wxSe-Vpvu-gozi-dDm2af
[EMAIL PROTECTED] root]# lvcreate --stripes 8 -L24G -n lvdocs02 vgdocs02
lvcreate -- INFO: using default stripe size 16 KB
lvcreate -- not enough allocatable/free physical volume space in "vgdocs02"
lvcreate -- please check, if physical volumes are allocatable
[EMAIL PROTECTED] root]# pvdisplay /dev/dasdai1
--- Physical volume ---
PV Name /dev/dasdai1
VG Name vgdocs02
PV Size 2.29 GB [4806528 secs] / NOT usable 32.19 MB [LVM: 128 KB]
PV# 1
PV Status available
Allocatable yes
Cur LV 0
PE Size (KByte) 32768
Total PE 72
Free PE 72
Allocated PE 0
PV UUID v14tEH-5SG7-7UEM-vjr7-mZSZ-jww1-8bicMw
[EMAIL PROTECTED] root]# pvdisplay /dev/dasdaj1
--- Physical volume ---
PV Name /dev/dasdaj1
VG Name vgdocs02
PV Size 2.29 GB [4806528 secs] / NOT usable 32.19 MB [LVM: 128 KB]
PV# 2
PV Status available
Allocatable yes
Cur LV 0
PE Size (KByte) 32768
Total PE 72
Free PE 72
Allocated PE 0
PV UUID 30Y2q1-mpcZ-eM0I-QNS7-QcpU-Gyu6-2KaIMH
[EMAIL PROTECTED] root]# pvdisplay /dev/dasdak1
--- Physical volume ---
PV Name /dev/dasdak1
VG Name vgdocs02
PV Size 2.29 GB [4806528 secs] / NOT usable 32.19 MB [LVM: 128 KB]
PV# 3
PV Status available
Allocatable yes
Cur LV 0
PE Size (KByte) 32768
Total PE 72
Free PE 72
Allocated PE 0
PV UUID 24w3Bd-XqF9-kNNR-EquK-Pfnn-F17a-lm4OU6
[EMAIL PROTECTED] root]# pvdisplay /dev/dasdal1
--- Physical volume ---
PV Name /dev/dasdal1
VG Name vgdocs02
PV Size 2.29 GB [4806528 secs] / NOT usable 32.19 MB [LVM: 128 KB]
PV# 4
PV Status available
Allocatable yes
Cur LV 0
PE Size (KByte) 32768
Total PE 72
Free PE 72
Allocated PE 0
PV UUID yuQiHL-eHwd-fXEV-ToqA-pCiT-TA4k-HDw2ai
[EMAIL PROTECTED] root]# pvdisplay /dev/dasdam1
--- Physical volume ---
PV Name /dev/dasdam1
VG Name vgdocs02
PV Size 2.29 GB [4806528 secs] / NOT usable 32.19 MB [LVM: 128 KB]
PV# 5
PV Status available
Allocatable yes
Cur LV 0
PE Size (KByte) 32768
Total PE 72
Free PE 72
Allocated PE 0
PV UUID mYWTT9-DZ0W-RrPZ-Lljt-TBDv-CBne-OJjykz
[EMAIL PROTECTED] root]# pvdisplay /dev/dasdan1
--- Physical volume ---
PV Name /dev/dasdan1
VG Name vgdocs02
PV Size 2.29 GB [4806528 secs] / NOT usable 32.19 MB [LVM: 128 KB]
PV# 6
PV Status available
Allocatable yes
Cur LV 0
PE Size (KByte) 32768
Total PE 72
Free PE 72
Allocated PE 0
PV UUID j84rRk-AvoF-7W51-b2jd-B04c-g5uR-nRAW30
Thanks,
Jon
----------------------------------------------------------------------
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