- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Extending file system
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
тАО05-25-2001 01:16 PM
тАО05-25-2001 01:16 PM
I have Linux 6.2 on 10gb IDE drive. I have add new 20GB on it. I used fdisk and remove old partition and create new partition. How do I add this new space in my current partation /usr?
I have not run any fs command on it yet.
Sachin
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-27-2001 10:58 PM
тАО05-27-2001 10:58 PM
Solutionif i understood you, you have currently mounted your /usr on an 10G partition, and want to move it to another partition with 20G.
first you have to create a filesyste on the new partition with one of the following commands:
"mkreiserfs /dev/hdXX" or "mke2fs /dev/hdXX".
i recommend reiserfs, cause it journals.
in the next step you have to move your data from the old /usr to the new one. for this mount the new partition on /mnt.
for copying the data your should NOT use cp!
cp would replace all file ownerships with the current user (in this case, normally root).
instead, copy the data with tar:
cd /usr
tar -cSpf - * | (cd /mnt; tar -xSpvf - *)
next verify if everything was copied correctly.
if so, you could umount your old /usr and mount the new one.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-28-2001 01:52 AM
тАО05-28-2001 01:52 AM
Re: Extending file system
#lvextend -L xxx /dev/vgxx/lvolx
#extendfs /dev/vgxx/rlvolx
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-28-2001 04:45 AM
тАО05-28-2001 04:45 AM
Re: Extending file system
Maybe instead of moving your old /usr to this new disk you should consider moving your data out of /usr or creating a new mount point /usr/my_big_appl.
Just my opinion...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-29-2001 09:52 AM
тАО05-29-2001 09:52 AM
Re: Extending file system
Everythig works fine except I used
tar -cSpf - * |(cd /mnt;tar -xSpvf *) (- didn't work for me)
Thanks
Sachin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-01-2001 05:28 PM
тАО06-01-2001 05:28 PM