- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Pvcreate command?
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
12-22-2010 12:54 AM
12-22-2010 12:54 AM
Pvcreate command?
while excuting pvcreate -f /dev/rdsk/c0t0d1 it's create pv on forcefully and PVRA happend.but why we are using rdsk?might be it's create the raw disk ok.with out "r" while excuting what it ''ll happen?
ex:"pvcreate -f /dev/dsk/c0t0d1"
and same thing for file system creation time also we are using newfs -F vxfs /dev/vg0/rdata
with out "r" what it"ll happen?
Regards,
Seenivasan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2010 01:06 AM
12-22-2010 01:06 AM
Re: Pvcreate command?
newfs(1M) /usr/sbin/newfs [-F FStype] [-o specific_options] [-V] special
Where:
Special represents a character (raw) special device.
same with PVCREATE
pvcreate(1M)
DESCRIPTION
The pvcreate command initializes a direct access storage device (a raw disk device) for use as a physical volume in a volume group.
thanks
kamal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2010 01:12 AM
12-22-2010 01:12 AM
Re: Pvcreate command?
you said pvcreate -f /dev/rdsk/c0t0d1 it's create the pv and directly access the raw lun ok.
but file system creation time why we are using "r"?
Regards,
Seenivasan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2010 02:09 AM
12-22-2010 02:09 AM
Re: Pvcreate command?
The newfs command helps in creation of the structures of the filesystems like superblocks, allocation units, intent log etc. and as these structures are created the raw mode of access is used for the device file. Pvcreate also generates reserved areas on the disk which are structures that are not present on a fresh disk not managed by LVM.
Regards
Ismail Azad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2010 03:08 AM
12-22-2010 03:08 AM
Re: Pvcreate command?
if you use the block devices it will not work as 1 block is multible bytes "characters".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2010 03:20 AM
12-22-2010 03:20 AM
Re: Pvcreate command?
Most likely you will get an error.
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
