- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Physical Volume Existence
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
10-12-2004 02:39 PM
10-12-2004 02:39 PM
I need to check whether a particular harddisk is already having Physical Volume created on it.
I run the command,
#pvdisplay /dev/dsk/c0t5d0
pvdisplay: Couldn't find the volume group to which
physical volume "/dev/dsk/c0t5d0" belongs.
pvdisplay: Cannot display physical volume "/dev/dsk/c0t5d0".
Query: Other then this command, any other command to double confirm?
regards/cliff
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2004 02:45 PM
10-12-2004 02:45 PM
SolutionDo 'strings /etc/lvmtab |grep c0t5d0'. You shouldn't get any output.
If the VG is inactive, then 'pvdisplay' won't display any information. So, 'pvdisplay' is not 100% check.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2004 03:19 PM
10-12-2004 03:19 PM
Re: Physical Volume Existence
If the disk thinks it belongs to a volume group, it will tell you when you run this command.
pvcreate /dev/rdsk/c0t5d0
If it does then you should see it in /etc/lvmtab. If not, it should be okay to use. (re-use with pvcreate -f /dev/rdsk/c0t5d0)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2004 03:26 PM
10-12-2004 03:26 PM
Re: Physical Volume Existence
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-14-2004 02:27 AM
10-14-2004 02:27 AM
Re: Physical Volume Existence
#pvcreate -f /dev/rdsk/c0t5d0
forces it to create the LVM data structure.
#pvremove /dev/rdsk/c0t5d0
will remove the LVM data structure then it can be used by the files system.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-14-2004 03:04 AM
10-14-2004 03:04 AM
Re: Physical Volume Existence
0000000 2000252410 965817345 2000252410 965817462
PV CPU-ID PV timestamp VG CPU-ID VG timestamp
The above information translates to:
â ¢ pvcreate and vgcreate was run on the sytem with systemID (uname â i) 2000252410
â ¢ pvcreate was run at timestamp 965817345 (seconds after Jan 1st 1970 0:00 UTC)
â ¢ vgcreate was run at timestamp 965817462 (117 seconds later)
Hope this helps.
Tha