- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- is it possible to extend the partition
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
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
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
тАО03-12-2008 04:28 AM
тАО03-12-2008 04:28 AM
is it possible to extend the partition
Hardware RAID-5 configured
partition type: conventional/normal/non-lvm
# df -hT
Filesystem Type Size Used Avail Use% Mounted on
/dev/cciss/c0d0p3 reiserfs 443G 397G 47G 90% /
/dev/cciss/c0d0p2 reiserfs 502M 39M 464M 8% /boot
Now I installed two 160 GB hard drives, and add them in the RAID-5 volume.
is there any possibility to extend /dev/cciss/c0d0p3 ?
Regards
Maaz
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-12-2008 05:10 AM
тАО03-12-2008 05:10 AM
Re: is it possible to extend the partition
RH4 ext2online (extends filesystems without umount). This only works on ext2/ext3 filesystems.
You need to have the new disk partitioned first.
If you are using LVM thats no problem.
But reiserfs, you need to use those tools.
http://www.linux-mag.com/id/572
http://www.linux.org/docs/ldp/howto/LVM-HOWTO/extendlv.html
Second link looks promising.
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
тАО03-12-2008 05:28 AM
тАО03-12-2008 05:28 AM
Re: is it possible to extend the partition
If c0d0p3 is the last partition of your disk, then you could delete that partition with fdisk and create another one with the same start cilinders, but with the last cilinder extended to the end of the disk.
Then you (theorically) run:
mount -o remount,resize=auto /
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-13-2008 06:25 AM
тАО03-13-2008 06:25 AM
Re: is it possible to extend the partition
Ivan I got the idea from your post, thanks Once again.
Yet I have not tried on the production server, but I am dead sure it will be no issue, because I have tested on testing machine, without any problem
following are the steps:
1, first create a partition /dev/sda3 of 2 GB with reiserfs filesystem on it, and mount it under /data.
2, populate the /data with with data of about 1.2 GB.
3, umount /data
4, delete the /dev/sda3 partition with fdisk and create another one with the same start cilinders, but with the last cilinder extended to the end of the disk.
5, execute the "partprobe"
6, execute the following command to extend the filesystem without formating
# resize_reiserfs /dev/sda3
# mount /dev/sda3 /data
Now I can access all the data on /dev/sda3 i.e no data lost, with total space of 3 GB.
DONE ;)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-13-2008 09:21 PM
тАО03-13-2008 09:21 PM
Re: is it possible to extend the partition
This definitely looks great!
However, before your do this on your production server, ensure that you have the latest backup done.
good luck!
kind regards
yogeeraj