- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How to Add a New Hard Disk to an existing vol ...
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
11-19-2001 08:59 AM
11-19-2001 08:59 AM
How to Add a New Hard Disk to an existing vol Group vg01
I want to increase the size of /image, becuase it is almost full (95%).
How Can add a new disk so that I can increase size of /image
Thanks in advance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2001 09:03 AM
11-19-2001 09:03 AM
Re: How to Add a New Hard Disk to an existing vol Group vg01
This is from a the HP white paper about LVM work.
III) How to add a disk to a Volume Group
Note The following examples is using the disk c1t6d0 and the volume
group vg01
1) Prepare the disk
pvcreate /dev/rdsk/c1t6d0
Note if the disk was previously used in another VG use the
following command instead:
pvcreate -f /dev/rdsk/c1t6d0
Note: Use caution when using pvcreate -f as this will
overwrite the existing volume group information on the disk.
2) Add the disk to the Volume Group
vgextend /dev/vg01 /dev/dsk/c1t6d0
Good Luck,
C
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2001 09:06 AM
11-19-2001 09:06 AM
Re: How to Add a New Hard Disk to an existing vol Group vg01
This is fairly easy.
1) Use pvcreate to prepare a new physical disk.
2) Use vgextend to add the disk to the volume group.
3) Use lvextend to extend the logical volume.
4) Unless you have OnlneJFS, you must umount the filesystem.
5) Use extendfs to extend the filesystem.
6) Remount the filesystem (unless you have OnlineJFS).
If you are unfamiliar with these operations, you can simply use SAM->Disks and Filesystems.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2001 09:06 AM
11-19-2001 09:06 AM
Re: How to Add a New Hard Disk to an existing vol Group vg01
Make sure you have a new disk(or lun) visible and unused from the system.
ioscan -nfCdisk should give you the disks
seen by the system.
If you have selected say /dev/dsk/cxtydz,
make sure it not used by doing
pvdisplay /dev/dsk/cxtydz -> it should not return anything.
then do pvcreate /dev/dsk/cxtydz
vgextend /dev/vg01 /dev/dsk/cxtydz
Now you should be free to extend /image as follows
bdf /image -> note the lv to which it is mounted.
then,
lvextend -L
if you have online JFS , try
fsadm -F
if you don't have online JFS
umount /image
extendfs -F
HTH
raj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2001 09:10 AM
11-19-2001 09:10 AM
Re: How to Add a New Hard Disk to an existing vol Group vg01
Add the disk to your system
pvcreate /dev/rdsk/cxtydz
Then add he disk to the volume group
vgextend vgxx /dev/dsk/cxtydz
Extend the logical volume
lvextend -L
to find the LV name : bdf /image
Extend the file system
If you have OnLine JFS :
fsadm -F vxfs -b
If you don't have it
umount /image
extendfs /dev/vgxx/rlovxx
mount /image
Fr??d??ric