- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: New Disks
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
04-11-2006 07:38 AM
04-11-2006 07:38 AM
New Disks
As per HP documentation if we are adding a new disk in the system and if the disk has been used for some old filesystem or Veritas Volume Manager structures we first need to use dd commands to write the 1024 1K blocks to the top of the disks. example
dd if=/dev/zero of=/dev/rdsk/c0t3d0 bs=1024 count=1024
Only after this pvcreate command is used to create the pysical disk like
pvcreate -f /dev/rdsk/c0t3d0
We have never used the dd command before adding any new disks from SAN storage.
Why do we not need to use the dd command on new disks ?
Are the new disks preconfigured to be used with LVM ?
Cheers,
Himanshu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2006 07:43 AM
04-11-2006 07:43 AM
Re: New Disks
If you do your dd command the -f option will not be needed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2006 07:50 AM
04-11-2006 07:50 AM
Re: New Disks
New disks come NUL'ed so that they are ready for pvcreate w/o -f.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2006 07:50 AM
04-11-2006 07:50 AM
Re: New Disks
pvcreate -f will force the LVM to recognize the disk and include it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2006 07:52 AM
04-11-2006 07:52 AM
Re: New Disks
I have never used the dd command when installing new disks.
New disks are not pre-configured for anything LVM or anything else. It should not matter at all when installing a disk whether it has been used again.
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
04-11-2006 07:53 AM
04-11-2006 07:53 AM
Re: New Disks
A 'pvcreate -f' wiil *initialize* the LVM area on a disk that is not recorded in '/etc/lvmtab'. A 'pvcreate' sets the PVID of a physical disk.
In order to use an LVM disk for other volume managers, a 'pvremove' (PVREMOVE) may be necessary. This action clears the LVM structures rather than recreating skeletal ones. The 'dd' action will do the same.
See the manpages for 'pvremove(1M)' for more information.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2006 09:55 PM
04-11-2006 09:55 PM
Re: New Disks
I have never used "dd" while adding new disks. If it is a new LUN there is no need to use "dd"
HP may recommend as a precaution to over write the first 1024b especially in a SAN environment to prevent any error message. There is no preconfiguration on any disks for HP LVM. When you initialise the disk using "pvcreate" for HP LVM, the LVM structure is created again similar procedure for other LVM like VXVM.
Regards
Sathish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2006 08:43 PM
04-12-2006 08:43 PM
Re: New Disks
It is not necessory to do a dd before initialising with pvcreate.
pvcreate -f forcefully initailise the disk for usng in LVM.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2006 11:36 PM
04-12-2006 11:36 PM
Re: New Disks
Even I have never used dd to create the new disks but since I came across this official HP training manual, I just thought of having views from everyones experiences.
Cheers,
Himanshu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2006 11:36 PM
04-12-2006 11:36 PM