- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Adding a new 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
Discussions
Discussions
Forums
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
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
тАО01-20-2005 10:19 AM
тАО01-20-2005 10:19 AM
Adding a new disk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-20-2005 10:25 AM
тАО01-20-2005 10:25 AM
Re: Adding a new disk
Use ioscan -fnuC disk to notice the device files of the disk
And use pvcreate and vgcreate and then lvcreate
See the manual for those command
KUZO
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-20-2005 10:26 AM
тАО01-20-2005 10:26 AM
Re: Adding a new disk
$ ioscan -fnC disk
Have you inherited this system from someone else?
## ---------------------------------------------------------------------------##
Which is the only cheese that is made backwards?
Edam!
Tweets: @2techie4me
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-20-2005 10:28 AM
тАО01-20-2005 10:28 AM
Re: Adding a new disk
You need to "prepare" the system to add new volume groups. If you want to add the following VGs vg01 & vg02 - do;
ll /dev/vg*
NOTE the minor number of the group file(s) - do not reuse it - then
mkdir /dev/vg01 /dev/vg02
mknod /dev/vg01/group c 64 0x020000
mknod /dev/vg02/group c 64 0x030000
then create the VGs
vgcreate vg01 /dev/dsk/cXtYdZ
vgcreate vg02 /dev/dsk/cXtYdZ
Of course use the appropriate disk devices for these commands & they may need to be initialized beforehand with
pvcreate /dev/rdsk/cXtYdZ #NOTE the need to use the raw device file
and if they've ever been used in a VG before you may need to use -f in that command BUT be forewarned that this is a VERY destructive command so be SURE they are not now in use by another VG
HTH,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-27-2005 07:18 PM
тАО01-27-2005 07:18 PM
Re: Adding a new disk
You can find the hardisk using
#ioscan fnC disk
After you find the disk then you have to make the disk available to configure
#pvcreate -f /dev/rdsk/c#t#d#
create vg01 directory
#mkdir /dev/vg01
#mknod /dev/vg01/group c 64 0x010000
Create VG
#vgcreate /dev/vg01 /dev/dsk/c#t#d#
Create logical volume
#lvreate -L
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-28-2005 12:15 AM
тАО01-28-2005 12:15 AM
Re: Adding a new disk
Welcome back to the wonderful world of HP-UX... ;-)