- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: how to increase / in Linux RH ENT 4.0
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
05-16-2007 11:04 PM
05-16-2007 11:04 PM
currently I need to increase the space for my / mount point which is /dev/rootvg/lvol00. the file system is ext3 and I have LVM.
Could I have the safer way to do this?
thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2007 11:23 PM
05-16-2007 11:23 PM
Re: how to increase / in Linux RH ENT 4.0
how about /usr?
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2007 11:48 PM
05-16-2007 11:48 PM
Re: how to increase / in Linux RH ENT 4.0
You could use http://www.acronis.com to back up the system to image and try the resize option when restoring it.
You are right about root.
For /usr
lets say /usr is lvol2
Lets say the new disk device, set up in fdisk is /dev/sdb2
pvcreate /dev/sdb2
# may need -f or -ff
vgextend vg_name /dev/sdb2
lvextend -L 6000M /dev/vg_name/lvol2 /dev/sdb2
ext2online /dev/vg_name/lvol2
The lvextend extends to 6000M. You can also specify in GB.
ext2online was deprecated and removed from FC6 and Red Hat 5. resize2fs does the same job with the same command syntax in those releases. I've personally confirmed this fact.
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
05-17-2007 03:27 AM
05-17-2007 03:27 AM
Re: how to increase / in Linux RH ENT 4.0
Not true. I did increase the root paritition without any problems more than one time.
If you have free space in your volume group, you can do it by extending the logical volume using lvextend and then extending the filesystem with ext2online.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2007 06:20 AM
05-17-2007 06:20 AM
Solution# ext2online /
ex. add 1G to /
# lvexnted -L +1G /dev/rootvg/lvol00
# ext2online /
I do not believe that / on linux has to be in a contiguous space like on HP-UX.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2007 06:21 AM
05-17-2007 06:21 AM
Re: how to increase / in Linux RH ENT 4.0
this
# lvextend -l +
should be this
# lvextend -L +
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2007 06:25 AM
05-17-2007 06:25 AM
Re: how to increase / in Linux RH ENT 4.0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2007 06:42 PM
05-17-2007 06:42 PM
Re: how to increase / in Linux RH ENT 4.0
Unless, / contains /boot. that could be a problem then.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2007 01:27 AM
05-18-2007 01:27 AM
Re: how to increase / in Linux RH ENT 4.0
Thank you for your response.
Have you tried it for the / (root) mount point. I tried other mount points without any problem.
As for this /, I am not very sure. want to ask it before I tried it out.
if it is safe to do it, I will try it.
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2007 01:53 AM
05-18-2007 01:53 AM
Re: how to increase / in Linux RH ENT 4.0
As I say it before, I did it more then one time. It works and it's safe.
If you are unsure, install a test machine and try it first. You can install on a virtual machine like vmware.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2007 01:23 PM
05-20-2007 01:23 PM