- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- root filesystem
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
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
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-05-2003 11:54 PM
06-05-2003 11:54 PM
root filesystem
is ther a way to extend the / ( root ) filesystem. when i tried in sam is sys that cannot unmount the / in order to extend.
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2003 11:59 PM
06-05-2003 11:59 PM
Re: root filesystem
the only easy way is to re-install the S.O., using ignite (make_tape_recovery).
There are some tricks, but they involve going down to maintenance, disabling swap and other.
If you are asking this question, it's best not to go too deeper.
Why do you want to exent / ?
If you are in lack of space it's best to create additional lvol and move your data there.
HTH,
Massimo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2003 12:00 AM
06-06-2003 12:00 AM
Re: root filesystem
Its far simlper to find out who/what is filling up / to free up some space. Remember, / is NOT supposed to grow, it should remain static. If its not then someone/somthing is using for data which should not happen.
You can check the sizes of the dirs in /etc;
du -sk /etc /dev /sbin /tcb
They should only be around;
45000 /etc
25 /dev
370 /tcb
23300 /sbin
If theyre a lot bigger then you need to look into each to find out what is filling them up.
The easiest way to increase / is;
1. Create a new lvol for vg00 (eg. lvol9). Set it to same size as /tmp.
2. in /etc/fstab change the /dev/vg00/lvol4 for /tmp to the new lvol, eg. lvol9.
3. reboot. now /tmp is on lvol9.
4. lvremove old tmp, lvol4. Now you can extend / up to the size of the old lvol4.
Or you can backup using an ignite tape, boot off the ignite tape and then set the new size for /, but this is a bigger and longer job.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2003 12:03 AM
06-06-2003 12:03 AM
Re: root filesystem
You cannot increase the size of / FS through sam .
When u want to increase the /stand,/, or swap lvols the PEs needs to be contiguos. So you have to take the total system backup and modify the LVM structure of the root disk if you don't have enough free PE's continously after the / (default lvol3).
The better way of doing is
take a full backup of system and Ignite backup of vg00.
When u restore using Ignite u can increase the / lvol's space provided u have enough space on your roort disk.
HTH
-tamil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2003 01:19 AM
06-06-2003 01:19 AM
Re: root filesystem
Regards,
Karthik
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2003 02:01 AM
06-06-2003 02:01 AM
Re: root filesystem
My way would be identify what are the Directories that are occupying more space in / using "du -ks" and create separate FS for them. This would be the easiest way. If you don't have FS for /var, /tmp and /usr boot the machine in single user mode and create separate FS for them.
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2003 03:16 AM
06-06-2003 03:16 AM
Re: root filesystem
du -kx / | sort -rn | head -10
The largest directories in a 'normal' / directory will be:
29200 /
18979 /sbin
8601 /etc
6383 /etc/opt
3676 /sbin/fs
Whatever you find that is large (and not part of this list) must be moved to the correct location. Bad applicatios will load themselves into a new root directory rather than /opt where they belong.
The root user may also be at fault. If the / directory is very large but /sbin is the next largest and about 18-20megs, then look for big files left by the root user:
ll / | sort -rnk5
To help with mistakes like this, always move root's home directory to another location, either /home/root, or /root.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2003 06:34 AM
06-06-2003 06:34 AM
Re: root filesystem
Chris