- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Adding 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
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
тАО03-11-2003 12:40 PM
тАО03-11-2003 12:40 PM
I just installed a new 9.1 LVD scsi disk on an old E25/9000, booted and the disk is there recognized thru an ??ioscan -fnC disk??. SAM also recognizes it and I tried to extend all filesystems using the ??merged?? space from the new 9gb disk, but LVEXTEND is returning the following message (thru SAM):
Lvextend:
failure possibly caused by contiguous allocation policy
failure possibly causes by strict allocation policy.
The message is pretty clear, but is there a way to edit and change this policy or I??ll have to start from scratch?
Thanks for your support, these forums are very useful.
Jeffo.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-11-2003 12:46 PM
тАО03-11-2003 12:46 PM
Re: Adding a new disk using SAM
You should be able to extend /var, /home, /tmp, and /usr with little difficulty - especially if you also have OnlineJFS.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-11-2003 12:47 PM
тАО03-11-2003 12:47 PM
Re: Adding a new disk using SAM
'lvchange' offers the ability to modify either strict or contiguous allocation policies, but *with restrictions*. Consult the man pages for 'lvchange' for more information.
You don't indicate which volume group on which the logical volumes reside. IF it is vg00 (as I suspect), you are not going to (easily) be able to deal with 'lvol1', 'lvol2' or 'lvol3'.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-11-2003 12:59 PM
тАО03-11-2003 12:59 PM
Re: Adding a new disk using SAM
mkboot /dev/dsk/c#t#d#
mkboot -a "hpux -lq (;0)/stand/vmunix" /dev/rdsk/c#t#d#
vgextend /dev/vg00/c#t#d#
lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/c#t#d#
same for other logical volumes
lvlnboot -r /dev/vg00/lvol3
lvlnboot -s /dev/vg00/lvol2
lvlnboot -d /dev/vg00/lvol2
lvlnboot -b /dev/vg00/lvol1
lvlnboot -R
lvlnboot -v
setboot -a path_of_disk
reboot, interupt, change the primary path
The logical volumes above must be contiguous.
to successfully extend the filesystems above you'll need to modify these steps.
Actually they might not work..
New approach.
Make an Ignite tape. make_tape_recovery
boot box
interupt
sea
bo P# # is the number of the sequential tape device.
Interupt the Ignite process when prompted and you can within limits change the size of the filesystems as they are laid down.
I like idea two much better.
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
тАО03-11-2003 01:09 PM
тАО03-11-2003 01:09 PM
Re: Adding a new disk using SAM
Well, yes, the VG in use is VG00 and I am almost satisfied if I be able to extend only the /home/usr/opt/var/tmp.
The disks aren??t mirrored. I got a 2gb + a 9Gb one.
So, I can assign the new disk to the VG00 (already done) and extend only the /home/usr/opt/var/tmp ??? )will try that tomorrow.
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-11-2003 01:12 PM
тАО03-11-2003 01:12 PM
Re: Adding a new disk using SAM
Yes, VG00 and NO mirroring.
Just a 2Gb + a 9Gb Hd.
So, you mean I can just (already) add the new disk to VG00 and extend ONLY /home/usr/opt/var/tmp without coming into trouble?
Extending only these filesystems would be a good answer for me also.
Will try that tommorrow.
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-11-2003 01:16 PM
тАО03-11-2003 01:16 PM
Re: Adding a new disk using SAM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-11-2003 01:23 PM
тАО03-11-2003 01:23 PM
Re: Adding a new disk using SAM
Unfortunately Michael's correct. Chances are VERY, VERY high that when you extend vg00 with the new disk, you'll only be adding 2 Gb.
Do a
vgdisplay vg00
and note the Max PE per PV value. Multiply that be PE size (4 Mb by default) & that value will be the largest size that can be added to the VG by adding another disk.
Your best bet will be to create 2 Ignite tapes (to be safe) & use that tape to recreate vg00 on the 9Gb disk.
You could then extend that to 11 Gb if you desire because the values mentioned earlier will now be larger & the whole 2Gb can be used.
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-11-2003 01:34 PM
тАО03-11-2003 01:34 PM
SolutionTo create the ignite tape:
# make_tape_recovery -x inc_entire=vg00 -I -v -a /dev/rmt/0mn
You can get the latest ignite from here. It won't affect any of the rest of your OS.
http://www.software.hp.com/products/IUX/download.html
'vgreduce' the disk from VG before starting.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-11-2003 02:09 PM
тАО03-11-2003 02:09 PM
Re: Adding a new disk using SAM
Take out the disk from vg00.
Create another vg with the new disk.
Create a new logical vol according to your requirement.
Mount it on a temp directory and copy the contents of that directory.
Delete the contents of the existing directory.
Mount the new filesystem at that specific directory.
Sandip