- 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
02-16-2006 05:23 PM
02-16-2006 05:23 PM
"/" of one of my server is 96%. I checked and found contiguous space is not available for lvol3.Also my vg00 is having some application filesystems. can anyone suggest any way to extend it other than removing the application filesystem.
>bdf
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol3 212992 205288 7656 96% /
/dev/vg00/lvol1 298928 38528 230504 14% /stand
/dev/vg00/lvol8 5242880 1029776 4182688 20% /var
/dev/vg00/lvol7 5242880 1464592 3751320 28% /usr
/dev/vg00/lvol4 524288 160824 360680 31% /tmp
/dev/vg00/lvol6 4194304 1881648 2294616 45% /opt
/dev/vg00/tools 24576000 13997322 10248108 58% /mnt/tools
/dev/vg00/local 10485760 6091984 4120961 60% /mnt/local
/dev/vg00/app 10485760 8480576 1942552 81% /mnt/app
/dev/vg00/lvol5 524288 382680 140536 73% /home
/ 212992 205288 7656 96% /net/fwapsvr1
[fwapsvr1]:[root]:/etc/lvmconf
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-16-2006 05:28 PM
02-16-2006 05:28 PM
Re: Root Filesystem
Check this thread and read SEP and Sri's reply.
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=505209
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-16-2006 05:35 PM
02-16-2006 05:35 PM
Re: Root Filesystem
Hi,
Its mandatory to have the root filesystem contigious.
in your situation, i feel the way out is to take a ignite backup and restore with the new disk layout.
Regards,
Siva.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-16-2006 05:38 PM
02-16-2006 05:38 PM
Re: Root Filesystem
Check first what's the files that filling the root file system :
# du -kx / | sort -rn | more
Do a cleanup first on your root filesystem.
If this cannot help you anymore, there's 2 way to increase the space on root filesystem :
1. re-install the OS
2. by using the features from Ignite/UX software, the command : make_tape_recovery
The other way around is by allocate the contiguous space BUT this one is not supported by HP.
Hope this information can help you.
Cheers,
AW
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-16-2006 05:54 PM
02-16-2006 05:54 PM
SolutionI have a solution for this problem. It requires a down time of about approx 0.5 to 1 hour.
My solution is a tested one and works irrespective of you have Online jfs or not.
pre-requisite : you need to have a second hard disk in VG vg00 to move the lvol4 from first harddisk to the second hardisk.
Let us assume your vg00 contains 2 PV's /dev/dsk/c1t0d0 and /dev/dev/c2t0d0. and have assumed that you have currently booted from c1t0d0.
1) move the PE's of lvol4 from first to the second disk.
pvmove -n /dev/vg01/lvol4 /dev/dsk/c1t0d0 /dev/dsk/c2t0d0
this activity can be done when the system is up and running. the time taken depends on the size of lvol4.
2) now extend the root lv, that is you lvol3.say in ur case from 200MB to 500MB, please not that you can increase max to the size which lvol4 has releashed. If you want more try moving lvol5 aswell using "pvmove".
lvextend -L 400 /dev/vg00/lvol3
3) Now reboot the box and go into LVM maintence mode.
at PDC ..interrupt and issue
bo pri
at ISL> prompt issue the following
hpux -lm
4) Once it is in LVM maintenence mode the root volume would be mounted on /dev/root so u can go ahead and extend the root volume FS.
issue the following commands,
a) vgchange -a y vg00
b) extendfs /dev/vg00/rlvol3
c) vgchange -a n vg00
d) reboot -n
At the next reboot go into normal booting mode without interupting PDC.
5) Once in the normal boot, reverse the PV moves.
pvmove -n /dev/vg01/lvol4 /dev/dsk/c2t0d0 /dev/dsk/c1t0d0
regards,
Senthil Kumar .A
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-16-2006 05:57 PM
02-16-2006 05:57 PM
Re: Root Filesystem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-16-2006 06:21 PM
02-16-2006 06:21 PM
Re: Root Filesystem
Hi Senthil,
The solution provided by you is suitable to my server.Apreciable.
But my current vg00 setup is with two disk mirrored.Do you want me to break the mirror and do it on the secondary disk or adding new disk ?
Awaiting your reply
Regards
Manoj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-16-2006 06:28 PM
02-16-2006 06:28 PM
Re: Root Filesystem
Hi,
You can either break the mirror and move the lvol4 to second disk. But in this case you will loose the redundancy.
Alternatively, if you have any free disk which can be added to VG00, you may add and move the lvol4 to that disk.
Regards,
Siva.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-16-2006 06:40 PM
02-16-2006 06:40 PM
Re: Root Filesystem
#du -kx / | sort -rn | more
#find / -type f -size +1000n -exec ll {} \;
secondly, extend / file system by ignite tape.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-16-2006 06:54 PM
02-16-2006 06:54 PM
Re: Root Filesystem
The most common reason for / growing is someone doing a backup and incorrectly identifying the tape device. This results in a large file appearing in /dev/rmt. Check for this before you do anything drastic.
Mark Syder (like the drink but spelt different)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-16-2006 06:58 PM
02-16-2006 06:58 PM
Re: Root Filesystem
# cleanup -c2
Check the files in /var/ directory. Remove all log files (Trim).
Try to analyse the big files in / file system as,
# du -k / | sort -rnk1 | more
--
Muthu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-16-2006 07:56 PM
02-16-2006 07:56 PM
Re: Root Filesystem
If you do not find any extra disk to be added then try breaking the mirror. You can mirror it back once you finish the extension of the root disk.
Regards,
Senthil Kumar .A
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2006 03:20 PM
02-19-2006 03:20 PM
Re: Root Filesystem
Thanks for the preciable help. I did it with mirror disk and now everything fine with root 75%.
Thanks again.
Regards
Manoj