- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- extend /usr on linux
Operating System - Linux
1748060
Members
5905
Online
108758
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
Discussions
Discussions
Forums
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
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
тАО12-13-2007 09:51 PM
тАО12-13-2007 09:51 PM
extend /usr on linux
# cat /etc/fstab
LABEL=/ / ext3 defaults 1 1
none /dev/pts devpts gid=5,mode=620 0 0
LABEL=/home /home ext3 defaults 1 2
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
LABEL=/tmp /tmp ext3 defaults 1 2
LABEL=/usr /usr ext3 defaults 1 2
LABEL=/var /var ext3 defaults 1 2
LABEL=/vpgroup /vpgroup ext3 defaults 1 2
/dev/cciss/c0d0p3 swap swap defaults 0 0
/dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,0
/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0
how can i extend /usr online without destroying the contents?
Also, it is not in LVM.
LABEL=/ / ext3 defaults 1 1
none /dev/pts devpts gid=5,mode=620 0 0
LABEL=/home /home ext3 defaults 1 2
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
LABEL=/tmp /tmp ext3 defaults 1 2
LABEL=/usr /usr ext3 defaults 1 2
LABEL=/var /var ext3 defaults 1 2
LABEL=/vpgroup /vpgroup ext3 defaults 1 2
/dev/cciss/c0d0p3 swap swap defaults 0 0
/dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,0
/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0
how can i extend /usr online without destroying the contents?
Also, it is not in LVM.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-13-2007 11:07 PM
тАО12-13-2007 11:07 PM
Re: extend /usr on linux
If it is not LVM best way is to take the backup and then increase the /usr file system.
Hope this help!!
BR,
Kapil
Hope this help!!
BR,
Kapil
I am in this small bowl, I wane see the real world......
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-14-2007 05:35 AM
тАО12-14-2007 05:35 AM
Re: extend /usr on linux
If it's using a traditional partitioning scheme, there is no way to extend /usr online.
The first problem: if the partitions are created in order, you would have to destroy /var to be able to extend /usr. When using the traditional scheme, all partitions must be contiguous.
The second problem: even if you can arrange the space to extend the /usr partition, any changes to the partition table won't become effective while the system is running *unless* all partitions of that disk are unmounted. Your disk seems to contain the root partition which definitely cannot be unmounted.
The LABEL tags in the /etc/fstab prevent us for seeing the actual partition layout. Could you provide the output of "cat /proc/mounts" and "fstab -l /dev/cciss/c0d0"?
MK
The first problem: if the partitions are created in order, you would have to destroy /var to be able to extend /usr. When using the traditional scheme, all partitions must be contiguous.
The second problem: even if you can arrange the space to extend the /usr partition, any changes to the partition table won't become effective while the system is running *unless* all partitions of that disk are unmounted. Your disk seems to contain the root partition which definitely cannot be unmounted.
The LABEL tags in the /etc/fstab prevent us for seeing the actual partition layout. Could you provide the output of "cat /proc/mounts" and "fstab -l /dev/cciss/c0d0"?
MK
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-14-2007 07:12 AM
тАО12-14-2007 07:12 AM
Re: extend /usr on linux
The partition changes will be picked up by partprobe command, but it's scary to extend /usr online, I never done.. Your best bet will be to take backup and then try doing something.
Best of luck
Shahul
Best of luck
Shahul
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.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP