- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Expanding / (root) filesytem
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
тАО04-05-2006 03:13 PM
тАО04-05-2006 03:13 PM
1. What's the best practice to extend / partition.
2. Should I expand it to the full 78 gigs, and would it cause performance issues?
...I'm fairly new to the UNIX Environment...
Thanks...
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-05-2006 03:38 PM
тАО04-05-2006 03:38 PM
SolutionYou can check these threads for more information,
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=97821&admit=-682735245+1144294574992+28353475
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=505209
Basically, Ignite your using make_tape_recovery, boot to console, Re-ignite your machine with desired size of / (root) partition.
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-05-2006 04:31 PM
тАО04-05-2006 04:31 PM
Re: Expanding / (root) filesytem
If your system configured lvol4, you cannot resize / file system.
To increase / size, use make_tape_recovery.
and resize / .
# make_tape_recovery -Av
# shutdown -ry 0
System reboot..
Main Menu: Enter command or menu > sea
Path# Device Path (dec) Device Path (mnem) Device Type Rev
----- ----------------- ------------------ ----------- ----
P0 0/0/3/0.0 media.0 Random access media 1
P1 0/1/1/0.1 intscsia.1 Random access media 1
P2 0/1/1/0.0 intscsia.0 Random access media 1
Main Menu: Enter command or menu > bo P# --> Tape Device
Have a nice day..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-05-2006 05:16 PM
тАО04-05-2006 05:16 PM
Re: Expanding / (root) filesytem
For expanding root (/) , you have to take ignite backup of vg00 , and while restoring , you have option to expand it.
End option to take all backup of your system and reinstall it , with a new root filesystem size.
Cheers,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-05-2006 05:16 PM
тАО04-05-2006 05:16 PM
Re: Expanding / (root) filesytem
For expanding root (/) , you have to take ignite backup of vg00 , and while restoring , you have option to expand it.
End option to take all backup of your system and reinstall it , with a new root filesystem size.
Cheers,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-05-2006 06:16 PM
тАО04-05-2006 06:16 PM
Re: Expanding / (root) filesytem
you should first consider why / is running out of space.
- run bdf to list all filesystems
- run du -sk
An alternative to extend this filesystem may be to move some of those directories from / to another filesystem: link them to new location.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-05-2006 09:02 PM
тАО04-05-2006 09:02 PM
Re: Expanding / (root) filesytem
Run this command to see which are the largest and newest file you have in "/" alone.
du -ks $(find / -type f -mtime -30 -xdev) | sort -n
This can help you identify why you are going low on space.
Regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-05-2006 09:12 PM
тАО04-05-2006 09:12 PM
Re: Expanding / (root) filesytem
Supposing a 2 internal disks configuration, all vg00 LVs mirrored.
1) fsadm on /tmp (and lvreduce /tmp) as many MBs as you need for root fs;
2) extend root logical volume and extend its filesystem;
3) extend back to the desired value /tmp
This is due to "/" filesystem being in contiguos and strict allocation policy.
Regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-06-2006 01:20 AM
тАО04-06-2006 01:20 AM
Re: Expanding / (root) filesytem
I suspect you've either got a process writing to root that would be better writing to a filesystem of its own or a backup writing to a non-existent device. This is quite common: what happens is a typo in the device name when you run a backup command resulting in a large file in the /dev/rmt directory. Check this before taking the drastic (and usually unnecessary) action of increasing /.
Mark Syder (like the drink but spelt different)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-07-2006 12:27 AM
тАО04-07-2006 12:27 AM
Re: Expanding / (root) filesytem
Lets assume you have 2 disks in vg00 one with the boot area and the / filesystem and the other with other filesystems but with sufficient room.
On your boot disk /dev/dsk/c1t15d0 you have
lvol1
lvol2
lvol3
lvol4
lvol5
Lvol3 cannot be extended since / needs to be contiguous and lvol4 is in the way.
if you have 2 disks in vg00
examples /dev/dsk/c1t15d0 and /dev/dsk/c2t15d0 and the 2nd disk has some room.
you can do the following
pvmove -n /dev/vg00/lvol4 /dev/dsk/c1t15d0 /dev/dsk/c3t15d0
this will move lvol4 to the other disk providing a hole for the / filesystem.
Then you can do the following
lvextend -L 200 /dev/vg00/lvol3 (assuming you have that space)
fsadm -F vxfs -b 200M /
(to extend the filesystem.. This assumes onlinejfs)
Then you can move lvol4 back to the disk..
pvmove -n /dev/vg00/lvol4 /dev/dsk/c3t15d0 /dev/dsk/c1t15d0
good luck..