- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: create logical volume
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-05-2011 12:31 AM
12-05-2011 12:31 AM
create logical volume
Hi,
I would like to know why I should run the command
# vgcreate /vg01 /dev/dsk/DISK_NAME (block)
and not
# vgcreate /vg01 /dev/rdsk/DISK_NAME (character)
Or maybe I can (?) What would be the differences?
BR,
Yali
- Tags:
- vgcreate
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2011 02:07 AM
12-05-2011 02:07 AM
Re: create logical volume
Hello,
You need to use the block device for physical volumes when using vgcreate(1M) command:
pv_path The block device path name of a physical
volume that will be assigned to the new
volume group.
If you try to use raw device path, vgcreate(1M) should fail.
When accessing a device via a block mode DSF, the system reads and writes data
through a buffer in memory, rather than transferring the data directly to the physical disk.
In other words, normally, the block device is cached. I/O to the device is read into memory,
referred to as buffer cache, in large blocks.
To be frank, one of these days, all these commands will become obsolete as far
as type of device we put on the command line. The commands themselves
should choose the right mode. When I teach HP-UX courses, students make
lot of mistakes and cannot remember that, for example:
pvcreate requires raw devices
vgcreate requires block devices
diskinfo requires raw device
and so on,
Very puzzling for some :)
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2011 05:43 AM
12-05-2011 05:43 AM
Re: create logical volume
Hello,
Thanks for the reply.
Can you point what is the reason for using raw device path, vgcreate sould fail?
BR,
Yali