- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: re: resizing / partion in RH Linux 9
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
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
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
тАО06-30-2003 01:30 PM
тАО06-30-2003 01:30 PM
re: resizing / partion in RH Linux 9
I'm kind of new to Linux system administration and so I was wondering if I could get some help from some of the experts on this forum.
I have a ext3 primary partition that came with a RH9 machine I bought. This partition is 48GB, and I would like to resize it because I would like the following partitions.
/ 6GB [currently 48GB want to resize 6GB]
/tmp 2GB
/home 4GB
/var 2GB
/apps [whatever else is left over]
I think I have to use the "parted" utility, but I think there are some limitations to the number of primary partitions that I can have, so I may have to create extended/logical partitions...I'm not sure.
Can anyone help me out? The last thing I want to do is resize something and not be able to boot into linux.. This machine only has linux and no other OS.
Thanks in advance.
Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-30-2003 02:11 PM
тАО06-30-2003 02:11 PM
Re: re: resizing / partion in RH Linux 9
Use parted, i.e., 'parted /dev/tmp'
View partition, 'print', find the minor number of /dev/tmp
resize 3 1024 2048
Can't find a man page but try this link:
http://www.redhat.com/docs/manuals/linux/RHL-9-Manual/custom-guide/s1-parted-resize-part.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-30-2003 04:26 PM
тАО06-30-2003 04:26 PM
Re: re: resizing / partion in RH Linux 9
it can't create partitions with ext3.
http://www.gnu.org/software/parted/parted.html
So you have 2 choices -
created (with parted) ext2 partitions or
probably reinstall linux (if you can afford)
creating partitions as you like.I'd think about
using LVM as this gives you more options on dynamic management of your disks.
http://www.linuxdocs.org/HOWTOs/LVM-HOWTO.html
Zeev
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-01-2003 12:47 AM
тАО07-01-2003 12:47 AM
Re: re: resizing / partion in RH Linux 9
Based on PC architecture, a disk can manage just 4 primary partitions, if you want more, you can use extended.
If your system is completly new, I would recommend to reinstall your linux in order to create partitions as you want.
like above, I would recommend LVM (i'm using it and works like a charm) + journalised file system. by this way, it's easier for you to resize all as you want, and with some options, you can even resize a filesystem online.
But if you want to keep your install, fdisk/parted can be used, but it's dangerous to reduce filesystems with datas !
hth
benoit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-01-2003 06:44 AM
тАО07-01-2003 06:44 AM
Re: re: resizing / partion in RH Linux 9
am not sure with parted, but did this recently on a dual boot box with Partition magic.
i had a big partition(NTFS) and wanted to shrink it. i was able to do it without any loss.
now, u need to check out if Partition magic is there for linux and buy it. it is not a free(beer) software.
-balaji
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-01-2003 11:16 AM
тАО07-01-2003 11:16 AM
Re: re: resizing / partion in RH Linux 9
Because it's partition you can't resize it,
if it was LV then you could do so.
So you need to rebuild the partitions
by make the install from the begin.
If you will try to made some resizes
you may lost information on the disk.
Caesar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-01-2003 07:31 PM
тАО07-01-2003 07:31 PM
Re: re: resizing / partion in RH Linux 9
Whilst Zeev is right that it doesn't do 'ext3', ext3 is nothing but an extension of ext2 (go type 83 partition types!), so it won't have an issue creating the appropriate partition types. You'll just have to mke2fs later with the appropraite flags to convert to ext3.
Most Intel based systems are limited to 4 primary partitions, so yes, you'd have to make an extended, then create logicals within the extended.
All of this is very easy to do. Just follow parted's instructions.
Something to note however. Do you have more than 6Gb on your / partition currently? It's not very wise to try resize a partition with more data on it than you are allocating. Older versions of parted used to allow this. That is why it has all those warnings.
One last thing. Regardless of what tool you use to resize or recreate your partitions, make sure you have a Backup. At least then you can 'play' a bit and not be as worried.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-01-2003 09:47 PM
тАО07-01-2003 09:47 PM
Re: re: resizing / partion in RH Linux 9
I also tried some methods, the best one I know is:
1. by partition magic. You??re able to take this tool on 2 Floppy-Disks. You can boot from these floppys an move any partitions in the size you want.
or
2. by/use Symantec Ghost, a great tool to save your Disk! - You can make a Image from the current installation ( over network or burn it directly on CD ( next time check, if you can boot these CDs!)). Then you have to repartitionize your disk. I recommend "xfdisk", a little, powerfull DOS - partitioning and bootmanager-tool available for free download.
Nice day,
Alex
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-02-2003 06:35 AM
тАО07-02-2003 06:35 AM
Re: re: resizing / partion in RH Linux 9
I do not know if this may be of use to you but !
RedHat cd use to come with figs.exe this is a dos utility that requires boot from dos and partition resize from there on .
I did you this a long while ago to reduce some patition on a dual os boot system and it worked like a charm for me, having say'ed that I had a simple setup, I dont have a RedHat cd distribution right here but I thing there is also a doc for fig on the 1 cd "if I remember well under /dosutils"
I dared use this because I knew I had good backups.
If you have the time and are going to reinstall from scratch, as others have suggested why not give it a try, as its free and can be fetch from the web if you do not have the RedHat CD.
Whatever enjoy, life J-P