Operating System - HP-UX
1844088 Members
2569 Online
110227 Solutions
New Discussion

vxfs newfs: no space allocated to device /dev/vg00/rstripe

 
Jagadesh
Frequent Advisor

vxfs newfs: no space allocated to device /dev/vg00/rstripe

Dear All,

We are facing the problem while creating filesystem using newfs.

The error/output can be found below.

# lvcreate -L 200 -n stripe vg00
Logical volume "/dev/vg00/stripe" has been successfully created

with character device "/dev/vg00/rstripe".
lvcreate: Warning: The physical volume "/dev/dsk/c2t5d0" is not
available for allocation.
lvcreate: Not enough free physical extents available.
Logical volume "/dev/vg00/stripe" could not be extended.
Run the "lvextend" command to create space on the Logical

Volume.

# newfs -F vxfs /dev/vg00/rstripe
vxfs newfs: no space allocated to vxfs newfs: no space allocated to

Kindly help me out in rectifying the same.

Thanks
2 REPLIES 2
Patrick Wallek
Honored Contributor

Re: vxfs newfs: no space allocated to device /dev/vg00/rstripe

You do not have enough available physical extents on the disk in vg00 (/dev/dsk/c2t5d0) to create the 200 MB volume.

If you post the output of 'vgdisplay -v vg00' we can confirm this for you.
Jagadesh
Frequent Advisor

Re: vxfs newfs: no space allocated to device /dev/vg00/rstripe

Please find the output of

# vgdisplay -v vg00

--- Volume groups ---
VG Name /dev/vg00
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 6
Open LV 6
Max PV 16
Cur PV 1
Act PV 1
Max PE per PV 4350
VGDA 2
PE Size (Mbytes) 4
Total PE 4340
Alloc PE 3881
Free PE 459
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0

--- Logical volumes ---
LV Name /dev/vg00/lvol1
LV Status available/syncd
LV Size (Mbytes) 300
Current LE 75
Allocated PE 75
Used PV 1

LV Name /dev/vg00/lvol2
LV Status available/syncd
LV Size (Mbytes) 1024
Current LE 256
Allocated PE 256
Used PV 1

LV Name /dev/vg00/lvol3
LV Status available/syncd
LV Size (Mbytes) 14000
Current LE 3500
Allocated PE 3500
Used PV 1

LV Name /dev/vg00/datavol
LV Status available/syncd
LV Size (Mbytes) 200
Current LE 50
Allocated PE 50
Used PV 1

LV Name /dev/vg00/testvol
LV Status available/syncd
LV Size (Mbytes) 0
Current LE 0
Allocated PE 0
Used PV 0

LV Name /dev/vg00/stripe
LV Status available/syncd
LV Size (Mbytes) 0
Current LE 0
Allocated PE 0
Used PV 0


--- Physical volumes ---
PV Name /dev/dsk/c2t5d0
PV Status available
Total PE 4340
Free PE 459
Autoswitch On