- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- extending partition on linux
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-04-2003 01:45 AM
12-04-2003 01:45 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2003 01:51 AM
12-04-2003 01:51 AM
SolutionI, personally, would suggest you look into using LVM on linux because if you were using volume groups instead of fixed partition, you would be able to just add the new partition to the volume group and extend your existing filesystems onto the new partition.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2003 01:56 AM
12-04-2003 01:56 AM
Re: extending partition on linux
With 7.x and above, the graphical linuxconf interface is pretty good for helping you avoid fdsisk or cfdisk.
To be honest in my 6.x days everytime I used those two utilities I ended up destroying the system. That gave me a healthy fear of those utilities though I think they've improved.
The gui will let you umount the filesystem. The n if you have the space, exetending the filesystem is point and click.
A backup is very important in these circumstances. I've personally avoided the need for this issue for two years by doing careful capacity planning.
I agree that LVM is easier for these issues. Thats becasue I'm an HP-UX CSA. The problem is LVM doesn't come with a mirroring tool. It can be used in combination with the Red Hat mirror tools however.
If I had a system that needs frequent disk changes, I'd use LVM. The reason is simple, I know most of the commands by heart.
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
12-04-2003 02:03 AM
12-04-2003 02:03 AM
Re: extending partition on linux
SEP,
Disapointed to hear you shying away from good old "fdisk" and the super-modern, hyper-fancy GUI that is "cfdisk" :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2003 02:04 AM
12-04-2003 02:04 AM
Re: extending partition on linux
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2003 04:26 PM
12-04-2003 04:26 PM
Re: extending partition on linux
GNU Partd
http://www.gnu.org/software/parted/parted.html
GNU Parted is a program for creating, destroying, resizing, checking and copying partitions, and the file systems on them. This is useful for creating space for new operating systems, reorganising disk usage, copying data between hard disks and disk imaging.
==
My first post here in the forum.
Hello world !
:p
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2003 04:58 PM
12-04-2003 04:58 PM
Re: extending partition on linux
Edwin, Austin is right; 'parted' is probably the best tool for the job.
Due to the nature of the task however, I would highly recommend taking a backup of the affected file system, regardless of what tool you intend to use.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2003 05:00 PM
12-04-2003 05:00 PM
Re: extending partition on linux
I've been trying to get it working (with out-of-the-box RH distro's), and having issues :P (funny that).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2003 11:51 PM
12-04-2003 11:51 PM
Re: extending partition on linux
I'm not sure exactly what you mean, but extending LVs on HP-UX is a doddle. I'm aware that there is a tool which allows you to do it while the volume is live, but I've not used this. I always have to umount the volume in order to fsextend it.
This means that if I need to extend any system LVs (e.g. /usr), I have to boot into single user mode and do it by hand, but this is not a problem on HP-UX. I have not tried it on Linux though...
Indeed, I've still not tried LVM under Linux. Is it worth the effort for a small personal system? I mainly use RH on a laptop and my broadband router (at home).
Drop me a line if you think I can give you more useful info! ;-)
Happy extending...
Basil.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2003 12:20 AM
12-05-2003 12:20 AM
Re: extending partition on linux
I do find myself resizing filesystems from time to time and I have a huge chunk of free space that doesn't get filled up with junk unless I specifically decide to extend something.
Moving disks from machine to machine works fine too as "vgscan" does exactly what it says on the box :)
The only thing I am a bit wary of is that I don't have my "/" filesystem in an LVM. I just can't believe I won't forget that "/" is LVM one day and attempt something really funky that involves doing something to "/" and breaking it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2003 11:23 AM
12-07-2003 11:23 AM
Re: extending partition on linux
There are patches to allow EXT2 resizing (kernel level), but what about XFS/ReiserFS/JFS ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2003 01:45 AM
12-08-2003 01:45 AM
Re: extending partition on linux
I use reiserfs for all my filesystems except "/" (for the same reasons I don't put it in a volume group) and have had no problems resizing online. Of course, you need to make sure the logical volume underneath is actually big enough :)