- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Couldn't stat physical volume "/dev/dsk/c1t2d0"
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
01-03-2004 09:47 PM
01-03-2004 09:47 PM
I had a harddisk crash, and after replaycing the HD I'm getting this erroe message.
# vgscan -a
vgscan: The physical volume "/dev/dsk/c0t5d0" is already recorded in the "/etc/lvmtab" file.
vgscan: The physical volume "/dev/dsk/c0t9d0" is already recorded in the "/etc/lvmtab" file.
Couldn't stat physical volume "/dev/dsk/c1t2d0":
Invalid argument
can anyone help
thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2004 09:57 PM
01-03-2004 09:57 PM
Re: Couldn't stat physical volume "/dev/dsk/c1t2d0"
First of all you have to do
#vgchange -a n vgname
and reduce the crashed physical volume using # vgreduce VG name PV name(for details pls see the man page)
Then create LVm structures on new disks
#pvcreate /dev/rdsk/cXtXdX
then restore vg config
#vgcfgrestore /dev/vgname pvname
if you have any doubt psl give the output of lvmtab
#strings /etc/lvmtab
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2004 05:48 PM
01-04-2004 05:48 PM
Solution1)first of all confirm weather it is getting detected in ioscan.
#ioscan -fnC disk
2)check diskinfo showing proper value
#diskinfo /dev/rdsk/cXtXdX
3)if it is a new disk then give pvcreate command
#pvcreate -f /dev/rdsk/cXtXdX
4)then add it in a vg
#vgextend /dev/vgXX /dev/dsk/cXtXdX
Hope this works for u.
Regards,
Rajesh G.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2004 06:24 PM
01-04-2004 06:24 PM
Re: Couldn't stat physical volume "/dev/dsk/c1t2d0"
I just want to know how did you changed the faulty hard disk ?
best way is like this...
replace the hard disk and set the SCSI id same do device file will be same then do
#pvcreate
and
#vgcfgrestore on that disk
this situation you can move do like this
#mv /etc/lvmtab /etc/lvmtab.0501
#vgscan -v
it will create new lvmtab with appropriate entry.
Sunil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2004 03:36 AM
01-05-2004 03:36 AM
Re: Couldn't stat physical volume "/dev/dsk/c1t2d0"
it's no problem. The physical volume /dev/dsk/c1t2d0 is probably your CDROM drive.
Best regards,
Laszlo