HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Increase / filesystem
Operating System - Linux
1829320
Members
1734
Online
109989
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
01-07-2007 01:26 PM
01-07-2007 01:26 PM
Increase / filesystem
here is my current df -k
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda3 6143268 281572 5549636 5% /
/dev/sda1 256667 35089 208326 15% /boot
/dev/sda7 2063504 34068 1924616 2% /home
/dev/sdb1 24240952 294232 22715340 2% /opt
/dev/sda8 1154276 223444 872200 21% /opt/monitor
none 2045776 0 2045776 0% /dev/shm
/dev/sda6 3051792 1290904 1605864 45% /tmp
/dev/sda2 8254272 2659060 5175916 34% /usr
/dev/sda5 4127076 170788 3746644 5% /var
the root has 6gb but we need to increase this to 8GB. Please let me know how i can do this?
here is my fdisk -l
/sbin/fdisk -l
Disk /dev/sda: 146.8 GB, 146814976000 bytes
255 heads, 63 sectors/track, 17849 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 33 265041 83 Linux
/dev/sda2 34 1077 8385930 83 Linux
/dev/sda3 1078 1854 6241252+ 83 Linux
/dev/sda4 1855 17849 128479837+ f Win95 Ext'd (LBA)
/dev/sda5 1855 2376 4192933+ 83 Linux
/dev/sda6 2377 2762 3100513+ 83 Linux
/dev/sda7 2763 3023 2096451 83 Linux
/dev/sda8 3024 3169 1172713+ 83 Linux
Disk /dev/sdb: 146.8 GB, 146814976000 bytes
255 heads, 63 sectors/track, 17849 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 3066 24627613+ 83 Linux
/dev/sdb2 3067 3320 2040255 82 Linux swap
Thanks
Brian
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda3 6143268 281572 5549636 5% /
/dev/sda1 256667 35089 208326 15% /boot
/dev/sda7 2063504 34068 1924616 2% /home
/dev/sdb1 24240952 294232 22715340 2% /opt
/dev/sda8 1154276 223444 872200 21% /opt/monitor
none 2045776 0 2045776 0% /dev/shm
/dev/sda6 3051792 1290904 1605864 45% /tmp
/dev/sda2 8254272 2659060 5175916 34% /usr
/dev/sda5 4127076 170788 3746644 5% /var
the root has 6gb but we need to increase this to 8GB. Please let me know how i can do this?
here is my fdisk -l
/sbin/fdisk -l
Disk /dev/sda: 146.8 GB, 146814976000 bytes
255 heads, 63 sectors/track, 17849 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 33 265041 83 Linux
/dev/sda2 34 1077 8385930 83 Linux
/dev/sda3 1078 1854 6241252+ 83 Linux
/dev/sda4 1855 17849 128479837+ f Win95 Ext'd (LBA)
/dev/sda5 1855 2376 4192933+ 83 Linux
/dev/sda6 2377 2762 3100513+ 83 Linux
/dev/sda7 2763 3023 2096451 83 Linux
/dev/sda8 3024 3169 1172713+ 83 Linux
Disk /dev/sdb: 146.8 GB, 146814976000 bytes
255 heads, 63 sectors/track, 17849 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 3066 24627613+ 83 Linux
/dev/sdb2 3067 3320 2040255 82 Linux swap
Thanks
Brian
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-07-2007 01:59 PM
01-07-2007 01:59 PM
Re: Increase / filesystem
Well, first things first.. Back evernything up!
Pretty much all of the available choices are quite dangerous, and should be performed with the server in single-user mode.
To start with, use a tool like 'gparted' from a LiveCD (http://gparted.sourceforge.net/ or http://www.sysresccd.org/Main_Page).
This makes everything so much easier.
'gparted' is a GUI interface to the 'gpart' tool, which allows you to resize most filesystem types, including ext2/ext3.
As it is, you need to shuffle the filesystems around to amek enough space for 'sda3' to have an extra few GB of size.
If you don't want to use a tool like that, then you'll have to do it all manually with 'parted', and 'ext2resize' or 'resize2fs'. This can be quite complicated, and messy.
Pretty much all of the available choices are quite dangerous, and should be performed with the server in single-user mode.
To start with, use a tool like 'gparted' from a LiveCD (http://gparted.sourceforge.net/ or http://www.sysresccd.org/Main_Page).
This makes everything so much easier.
'gparted' is a GUI interface to the 'gpart' tool, which allows you to resize most filesystem types, including ext2/ext3.
As it is, you need to shuffle the filesystems around to amek enough space for 'sda3' to have an extra few GB of size.
If you don't want to use a tool like that, then you'll have to do it all manually with 'parted', and 'ext2resize' or 'resize2fs'. This can be quite complicated, and messy.
One long-haired git at your service...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-07-2007 10:17 PM
01-07-2007 10:17 PM
Re: Increase / filesystem
Hello!
/ (root) is impossible to increase without an externale tool.
Follow the previus advice.
GParted is a great tool for do this. Is like Partition Magic, but is free and linux-based.
Remember to backup all first!
Regards
/ (root) is impossible to increase without an externale tool.
Follow the previus advice.
GParted is a great tool for do this. Is like Partition Magic, but is free and linux-based.
Remember to backup all first!
Regards
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP