- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How to add disks to vg and need to extend the ...
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
12-08-2005 09:20 PM
12-08-2005 09:20 PM
Re: How to add disks to vg and need to extend the filesystem?
How can add again 10GB space in /dev/vg04_chardata/lv_data07
and provide the extent calculation deatils,
Thanx in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2005 09:26 PM
12-08-2005 09:26 PM
Re: How to add disks to vg and need to extend the filesystem?
to add another 10GB to /dev/vg04_chardata/lv_data07:
# lvextend -l 15442 /dev/vg04_chardata/lv_data07
where 15442 is derived by adding 1250 extents to current. (1250 is 1250x8MB based on 8MB per extent)
# fsadm -F vxfs -b 126500864 /data/data07
where 126500864kb = 15442x1024x8
regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2005 09:35 PM
12-08-2005 09:35 PM
Re: How to add disks to vg and need to extend the filesystem?
You have allready added both the disks to your vg this has allready added around 70GB space to your VG. Even if you reduced it from one disk it still should be having 35GB free space in this VG.
Perhaps you need to say add 10GB to file system.
You can do this.
Calculate the no. of PEs in 10GB by which you are going to grow your file system. Here as the PE size is 8MB, the same shall be [(10*1024)/4]=1280
So the total PE's to be allocated to the LVOL after extending should be 1280+12942=14222.
Extend the LVOL to this size first using
#lvextend -l 14222 /dev/vg04_chardata/lv_data07
Now unmount the file system and extend it with extendfs
#umount /dev/vg04_chardata/lv_data07
#extendfs /dev/vg04_chardata/lv_data07
#mount /dev/vg04_chardata/lv_data07 /data/data07
#bdf
To confirm the new size.
HTH,
Devender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2005 06:21 AM
12-09-2005 06:21 AM
Re: How to add disks to vg and need to extend the filesystem?
1. First check if you have Online JFS installed. Then the task is pretty easy. You dont need to bring the application down , and unmount the filesystem.
Here , you can check:
# swlist -l product | grep -i online
(Online features of the VxFS File System , must be there .)
2. Here it is how you can extend the FS.
Check if you have free PE on that vg.
# vgdisplay -v /dev/vg00 | egrep -i '(phy|free)'
3. If yes , calculate the space requirement.
To get total size in MB: = ( Current FS size in MB + new size you want to add)
# lvextend -L (TotalSize in MB) /dev/vg_name/lvoln
# fsadm -F vxfs -b (Totalsize in MB*1024) /filesystem_name
Hope this will help you.
Cheers,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2005 04:42 AM
12-13-2005 04:42 AM
Re: How to add disks to vg and need to extend the filesystem?
Have a good day for all.
- « Previous
-
- 1
- 2
- Next »