- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How do I configure a new disk using SAM
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
02-21-2002 08:19 AM
02-21-2002 08:19 AM
How do I configure a new disk using SAM
I'm hoping someone can help me out?
I have 2 "spare" disks that are currently unused. They are 4Gb each. I would like to create a new LVM 4GB with the other 4Gb as a mirror (this is how all of our others drives are setup).
(oh, and if you do a ioscan -funC disk I can see the 2 disks, ClAIMED)
When I go to Sam - Disk Devices, I see both 4Gb drives as "unused".
I selected one disk, hit Actions, typed in a new VG name (we have vg00 - vg07 so I typed vg08) and then the next line was PVG?
Looking at my vgdisplay -v output, I see my current drives like this:
Logical volumes, LV Name = /dev/vg05/lvol1
LV Size = 8184
etc etc
Physical Volumes, PV Name = /dev/dsk/c2t1d0
etc etc
so I typed in for the PVG = /dev/dsk/c1t9d0 which is from my ioscan output for that disk. Sam said this was invalid and hence where I've stopped.
Can someone shed some light on this?
TIA
Cin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2002 08:24 AM
02-21-2002 08:24 AM
Re: How do I configure a new disk using SAM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2002 08:24 AM
02-21-2002 08:24 AM
Re: How do I configure a new disk using SAM
For your purpose, you dont need to configure a PVG ( Physical Volume Group). You can create the new VG, create LVs. Then extend the VG with other disk, and mirror the LVs.
HTH,
Shiju
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2002 08:26 AM
02-21-2002 08:26 AM
Re: How do I configure a new disk using SAM
Do you want to try the command line options.
mkdir /dev/vg08
mknod /dev/vg08/group c 64 0x080000
pvcreate -f /dev/rdsk/first_disk
pvcreate -f /dev/rdsk/second_disk
Let us assume first disk is cxtydz and the second disk is cXtYdZ
no create a VG,
vgcreate /dev/vg08 /dev/dsk/cxtydz
vgextend /dev/vg08 /dev/dsk/cXtYdZ
lvcreate -n lv_name /dev/vg08
lvextend -L 200 /dev/vg08/lv_name /dev/dsk/cxtydz
lvextend -m 1 /dev/vg08/lv_name /dev/dsk/cXtYdZ
This will create the lv of size 200MB on 1st disk and will create the mirror on the 2nd disk. Now create the filesystem,
newfs -F vxfs -o largefiles /dev/vg08/rlv_name
You can repeat the lv creation steps to add more lv's and can also modify the size of the lv to suit your requirements.
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2002 08:27 AM
02-21-2002 08:27 AM
Re: How do I configure a new disk using SAM
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2002 08:31 AM
02-21-2002 08:31 AM
Re: How do I configure a new disk using SAM
Also, once you add the two disks to the volume group, which you created a new one, I believe vg08, create a logical volume (of 4gb I assume), but only select the first disk for that lvol. Then make it mirrored.
Remember, mirroring is at the Logical Volume level only, not at the Volume group level. Which means you could just as easily add these disks to an existing Volume group, like vg07, and then create your Logical volumes. When you create too many Volume groups (and 8 isn't many) it becomes an adminstrative nightmare. Volume groups should always have Logical volumes that belong grouped together, like databases, applications, etc...
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2002 08:36 AM
02-21-2002 08:36 AM
Re: How do I configure a new disk using SAM
Again, the PV name which you are getting from 'ioscan' output is the Physical Volume device name (/dev/dsk/cxtydz). This is the file which the system uses to access the device.
A PVG (physical Volume Group) is different. It allows you to logically group disk devices within the same volume group together. The PVG configuration can be found from the /etc/lvmpvg file.
In your case, you can skip this option and create normal VGs and LVs and then mirror it. Check this for more information on PVG:
http://us-support.external.hp.com/cki/bin/doc.pl/sid=e522b1d70688edb699/screen=ckiDisplayDocument?docId=200000047257204
HTH,
Shiju