- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Solaris HELP. root full. Any SUN guru on here?
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
тАО10-09-2001 08:18 AM
тАО10-09-2001 08:18 AM
Sorry to post a sun question, but i'm in need of some help and you guys are the best. Here is the problem. My root fs is fill and I would like to move it to a different slice on the same disk. Can and how is this done? ufsdump?
Any comments appreciated!!
Thanks,
...jcd...
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-09-2001 08:28 AM
тАО10-09-2001 08:28 AM
Re: Solaris HELP. root full. Any SUN guru on here?
Like in HP, first check and see what directory is filling up root,
du -kd / |sort -n > /tmp/du.out
Once you have the list, you can think of deleting some stuff, look for core files, huge files in /dev directory etc.
If nothing else, you may have to create another partition on the disk (to check the partitioning of the disk, use the format command, which is a menu based utility, choose the disk, type partition, print) and if there is a free partition, create a new partition and move the contents from the root partition over to the new partition.
-Regards
Ramesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-09-2001 09:13 AM
тАО10-09-2001 09:13 AM
Re: Solaris HELP. root full. Any SUN guru on here?
So, If I have another slice that that has plenty of space. I can just copy / to the other slice, modity the vfstab, and I should be good to go?
I just did not know if the root fs has to be on s0.
Thanks,
...jcd...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-09-2001 10:16 AM
тАО10-09-2001 10:16 AM
SolutionYes, you should be able to move / from s0 to another slice on the same disk. You'll have to do the following:
-use format to set up the new slice (probably is already)
-Run newfs on the new slice.
-Mount the new slice to /mnt or some other temp directory.
-ufsdump 0f - / | (cd /mnt;ufsrestore xvf -)
-umount /mnt
-Modify /etc/vfstab, change the slice for /
-Run installboot /lib/fs/ufs/bootblk /dev/rdsk/c0t0d0s? on the new slice. Note, the path for the bootblk might be wrong depending on what version of Solaris you're using.
-eeprom boot-device=/dev/dsk/c0t0d0
Basically you have to put a bootblk on the new slice and make sure to either manually boot off that device or use eeprom to point the server to the new slice.
Let me know if you need any thing else.
-bernie
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-09-2001 10:29 AM
тАО10-09-2001 10:29 AM
Re: Solaris HELP. root full. Any SUN guru on here?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-09-2001 10:39 AM
тАО10-09-2001 10:39 AM
Re: Solaris HELP. root full. Any SUN guru on here?
Not sure how big is your / partition, but i would rather create partitions for non-OS related directories and move it to the new partition.
Did you see what is filling up the root partition?
-Regards
Ramesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-09-2001 10:40 AM
тАО10-09-2001 10:40 AM
Re: Solaris HELP. root full. Any SUN guru on here?
Thanks!
Joe...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-09-2001 10:44 AM
тАО10-09-2001 10:44 AM
Re: Solaris HELP. root full. Any SUN guru on here?
I think I've got a game plan now. If all else fail, I can always punt!!
Thats guys
Joe...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-09-2001 10:59 AM
тАО10-09-2001 10:59 AM
Re: Solaris HELP. root full. Any SUN guru on here?
I know you have the solution, but just wanted to pass on this doc from SUN.
http://sunsolve.sun.com/pub-cgi/retrieve.pl?doc=finfodoc%2F48
when installing the boot block , change the slice number.
-Regards
Ramesh