- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- problem with lvcreate
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2005 09:32 PM
11-15-2005 09:32 PM
lvcreate: The logical volume "/dev/vg72/pmor_data_dat02" could not be created:
No such device or address
I am trying to make a LV of 18GB name pmor_data_dat02 in my VG72.
but it is not creating,
please suggest
thanks
vipin
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2005 09:37 PM
11-15-2005 09:37 PM
Re: problem with lvcreate
# strings /etc/lvmtab | grep vg72
# vgdisplay -v /dev/vg72
Syntax is correct. May be a problem with the vg.
hth.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2005 09:39 PM
11-15-2005 09:39 PM
Re: problem with lvcreate
Is your vg72 created succesfully now?
Please send the output of
vgdisplay -v vg72
ls -l /dev/vg72
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2005 09:41 PM
11-15-2005 09:41 PM
Re: problem with lvcreate
/dev/vg72
/dev/dsk/c26t6d0
/dev/dsk/c29t6d0
# vgdisplay -v /dev/vg72
--- Volume groups ---
VG Name /dev/vg72
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 0
Open LV 0
Max PV 16
Cur PV 1
Act PV 1
Max PE per PV 9215
VGDA 2
PE Size (Mbytes) 4
Total PE 9214
Alloc PE 0
Free PE 9214
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
--- Physical volumes ---
PV Name /dev/dsk/c26t6d0
PV Name /dev/dsk/c29t6d0 Alternate Link
PV Status unavailable
Total PE 9214
Free PE 9214
Autoswitch On
Yes, you are right,
it was showing the status of PV-
PV Status unavailable
what should i do
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2005 09:43 PM
11-15-2005 09:43 PM
Re: problem with lvcreate
total 0
crw-r--r-- 1 root sys 64 0x2c0000 Nov 16 03:28 group
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2005 09:46 PM
11-15-2005 09:46 PM
Re: problem with lvcreate
I would restart completly
vgchange -a n vg72
vgexport vg72
mkdir /dev/vg72
mknod /dev/vg72/group c 64 0x2c0000
pvcreate -f /dev/rdsk/c26t6d0
vgcreate vg72 /dev/dsk/c26t6d0
vgextend vg72 /dev/dsk/c29t6d0
lvcreate -L 18000 -n pmor_data_dat02 /dev/vg72
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2005 09:46 PM
11-15-2005 09:46 PM
Re: problem with lvcreate
--- Physical volumes ---
PV Name /dev/dsk/c26t6d0
PV Name /dev/dsk/c29t6d0 Alternate Link
VG Name /dev/vg72
PV Status unavailable
Allocatable yes
VGDA 2
Cur LV 0
PE Size (Mbytes) 4
Total PE 9214
Free PE 9214
Allocated PE 0
Stale PE 0
IO Timeout (Seconds) default
Autoswitch On
root@dipper:[/root]
# pvdisplay /dev/dsk/c29t6d0
Device file path "/dev/dsk/c29t6d0" is an alternate path
to the Physical Volume. Using Primary Link "/dev/dsk/c26t6d0".
--- Physical volumes ---
PV Name /dev/dsk/c26t6d0
PV Name /dev/dsk/c29t6d0 Alternate Link
VG Name /dev/vg72
PV Status unavailable
Allocatable yes
VGDA 2
Cur LV 0
PE Size (Mbytes) 4
Total PE 9214
Free PE 9214
Allocated PE 0
Stale PE 0
IO Timeout (Seconds) default
Autoswitch On
Please suggest what shoild i do to make PV- available?
thanks
vipin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2005 09:48 PM
11-15-2005 09:48 PM
Re: problem with lvcreate
Make sure all disks show up as claimed in ioscan -fnC disk
I feel one of the physical volumes may be unavailable.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2005 09:53 PM
11-15-2005 09:53 PM
Re: problem with lvcreate
disk 931 1/0/8/1/0.21.15.0.0.6.0 sdisk CLAIMED DEVICE DGC CX700WDR10
/dev/dsk/c26t6d0 /dev/rdsk/c26t6d0
disk 932 1/0/8/1/0.21.47.0.0.6.0 sdisk CLAIMED DEVICE DGC CX700WDR10
/dev/dsk/c29t6d0 /dev/rdsk/c29t6d0
Should i run these commands again?
#vgchange -a n vg72
#vgexport vg72
#mkdir /dev/vg72
#mknod /dev/vg72/group c 64 0x2c0000
#pvcreate -f /dev/rdsk/c26t6d0
#vgcreate vg72 /dev/dsk/c26t6d0
#vgextend vg72 /dev/dsk/c29t6d0
#lvcreate -L 18000 -n pmor_data_dat02 /dev/vg72
Please suggest.
thanks
vipin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2005 09:56 PM
11-15-2005 09:56 PM
Re: problem with lvcreate
Since nothing crucial is in vg72 yet, I should restart to see if you have any other errors during the creation of the volumegroup.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2005 09:57 PM
11-15-2005 09:57 PM
Re: problem with lvcreate
# pvchange -z y /dev/dsk/c26t6d0
# pvdisplay /dev/dsk/c26t6d0
hth.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2005 10:20 PM
11-15-2005 10:20 PM
Re: problem with lvcreate
pvchange: Physical volume "/dev/dsk/c26t6d0" could not be changed:
No such device or address
what should i do
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2005 10:26 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2005 10:29 PM
11-15-2005 10:29 PM
Re: problem with lvcreate
Please recreate the volumegroup to see if there are any other errors.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2005 10:32 PM
11-15-2005 10:32 PM
Re: problem with lvcreate
i did these commands again
#vgchange -a n vg72
#vgexport vg72
#mkdir /dev/vg72
#mknod /dev/vg72/group c 64 0x2c0000
#pvcreate -f /dev/rdsk/c26t6d0
#vgcreate vg72 /dev/dsk/c26t6d0
#vgextend vg72 /dev/dsk/c29t6d0
#lvcreate -L 18000 -n pmor_data_dat02 /dev/vg72
now i am able to create the LV
thanks again to everybody
vipin