- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- add addtional hd to system.
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
тАО11-13-2003 07:52 PM
тАО11-13-2003 07:52 PM
one /dev/vg01/lovl4 is full, I added two new harddisk, and do the following step.
# pvcreate -f /dev/rdsk/cxtxdx
# vgextend vg01 /dev/dsk/cxtxdx
# lvextend -L xx /dev/vg01/lovl4
/dev/dsk/cxtxdx
But it say the physical size is not enough.
I am sure -L xx size does excess the physical size, and vgdisplay can show the additional disk has been added.
What's wrong? Do i need to deactive the vg01, or need to umount all the lvm in vg01, before I do all these?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-13-2003 08:04 PM
тАО11-13-2003 08:04 PM
Re: add addtional hd to system.
for the lvextend you do not deactivate the vg.
However, if yo do not have "Advanced OnlineJFS" you will have to umount the filesystem and run extendfs (instead of fsadm) to actually increase the filesystem size) - ignore that if you are using this as a raw volume.
Now as to your problem, do an lvdisplay and check the Allocation policy for that lvol. If it is e.g. contiguous, this would be a problem, but I guess you get a different message then. If it is PVG strict mirrored, you will have to add the new disks into /etc/lvmpvg (you can edit this text file manually) so that each physical volume group has one of the new disks.
I guess you are aware that after -L you specify the new *total* lvol size in MB, not the additional size.
HTH
Regards,
Bernhard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-13-2003 08:06 PM
тАО11-13-2003 08:06 PM
Re: add addtional hd to system.
Yes, umount the filesystem
# lvextend -L xx /dev/vg01/lovl4
# extendfs /dev/vg01/rlovl4
mount the filesystem
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-13-2003 08:10 PM
тАО11-13-2003 08:10 PM
Re: add addtional hd to system.
If you have Online JFS installed on your system then you need not umount the filesystem for extending the LV.
Can you attach the o/p of vgdisplay and the value of -L xx which you are specifying.
hth
aparna
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-13-2003 08:20 PM
тАО11-13-2003 08:20 PM
Re: add addtional hd to system.
Thanks for your reply.
The following is the message of this lvm. It seems ok, so i tried to edit /etc/lvmpvg. But my server don't have this file. don't know why?
--- Logical volumes ---
LV Name /dev/vg01/lvol4
VG Name /dev/vg01
LV Permission read/write
LV Status available/syncd
Mirror copies 1
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 55896
Current LE 6987
Allocated PE 13974
Stripes 0
Stripe Size (Kbytes) 0
Bad block on
Allocation strict
IO Timeout (Seconds) default
--- Distribution of logical volume ---
PV Name LE on PV PE on PV
/dev/dsk/c6t0d0 6987 6987
/dev/dsk/c7t8d0 6987 6987
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-13-2003 08:37 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-13-2003 08:51 PM
тАО11-13-2003 08:51 PM
Re: add addtional hd to system.
What's the ouput of diskinfo -v /dev/rdsk/cxtxdx
Try to deactivate the volume group and then create the logical volume, reactivate the VG back.
#vgchange -a n /dev/vg01
#lvextend -L (size in MB) /dev/vg01/lvol4
#extendfs -F vxfs /dev/vg01/rlvol4
#vgchange -a y /dev/vg01
Hope this help
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-13-2003 08:58 PM
тАО11-13-2003 08:58 PM
Re: add addtional hd to system.
It does work by using the following command.
#lvextend -L xx /dev/vg01/lvol4
/dev/dsk/disk1 /dev/dsk/disk2
And now I am trying to extend the filesytem, but it has taken very long time. I am still waiting for the result. The command I am using is:
# extendfs -F vxfs /dev/vg01/rlvol4
If there is anything wrong, pls let me know. Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-13-2003 09:01 PM
тАО11-13-2003 09:01 PM
Re: add addtional hd to system.
I have performed this successfully according to your suggestions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-13-2003 09:02 PM
тАО11-13-2003 09:02 PM
Re: add addtional hd to system.
Did you change anything in the /etc/fstab