- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Adding Disk
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
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
07-20-2006 06:24 PM
07-20-2006 06:24 PM
Adding Disk
I have a HPC3600 Worstation running on HPUX11.11 then it has only 1 disk installed at slot 6.
Right now I added another disk and placed it to the slot5 then the systme recognized the disk, but this disk has a data on it. My question is:
1.How would I destroy the data I mean just like format the drive to make it usable?
what command should i use?
2.How to add this to a volume group
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2006 06:38 PM
07-20-2006 06:38 PM
Re: Adding Disk
use SAM, it will do all the work for you.
When you add the disk to a volume group SAM will recognise that the disk has been used before and ask if you want to use this disk.
If you say yes, SAM will issue the mkfs in the background, which will ready the disk for re-use.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2006 06:51 PM
07-20-2006 06:51 PM
Re: Adding Disk
You can use "pvcreate" command to re-create LVM structure on the disk
use command vgexntend to extend this disk to an existing vg
use vgcreate command to make this disk part of a new vg
lets us know if you need more help
hth
Wip
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2006 06:55 PM
07-20-2006 06:55 PM
Re: Adding Disk
First you can destroy the data using mediainit command and create a PV on that disk.You can use the following procedure to add the disk in a VG
mediainit /dev/rdsk/cXtYdZ
pvcreate -f /dev/rdsk/cXtXdX
vgextend /dev/vgXX /dev/dsk/cXtXdX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2006 06:55 PM
07-20-2006 06:55 PM
Re: Adding Disk
1. pvcreate /dev/rdsk/c?t?d? (disk device file which you can get from ioscan -fnCdisk command
If you want to add this disk to existing volume group as vg00
2.vgextend /dev/dsk/c?t?d? /dev/vg00
of if you want to create a new volume group say vg01
mkdir /dev/vg01
mknod /dev/vg01/group c 64 0x010000 (check for a free minor number)
vgcreate /dev/vg01 /dev/dsk/c?t?d?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2006 07:01 PM
07-20-2006 07:01 PM