The FreeBSD Diary

The FreeBSD Diary (TM)

Providing practical examples since 1998

As an Amazon Associate I earn from qualifying purchases.
[ HOME | TOPICS | INDEX | WEB RESOURCES | BOOKS | CONTRIBUTE | SEARCH | FEEDBACK | FAQ | FORUMS ]
FreeBSD Support
 New Topic  |  Go to Top  |  Go to Topic  |  Search  |  Log In   Newer Topic  |  Older Topic 
 Root slice 100% used
Author: Nick Hyde 
Date:   12-11-04 10:40

Hi All

First of all I am new to the world of Solaris, recently I installed Solaris
9 on a hardrive along side other OS's, Windows and Dos.
I had no problems at all during installation and since then working with
Solaris 9 has been fine, until now.
I tried to log in as a normal user and found the system would just return to
the login menu, tried using "root" and this worked, used the Disk Manager
process but found this would not work.
I checked for errors and the reports where as shown below.

xxxxx Sendmail [231]: unable to Qualify My own domain name (xxxxx) -- using
short name
451 4.0.0 /etc/mail/Sendmail.cf line 81: Fileclass: Cannot open
'/etc/mail/local-host-names': Group Writable directory.

xxxxx ufs: Notice: alloc: /: file systems full

I ran df -k

result was. %
/dev/dsk/c0d0s0 1442903 1439518 0 100 /
/proc 0 0 0 0
/proc
mnttab 0 0 0 0
/mnttab
fd 0 0 0 0
/dev/fd
swap 1001760 16 1001744 1 /var/
swap 1002068 326 1001744 1 /tmp
/dev/dsk/c0d0s7 13044724 426047 12488230 4 /export/home

/dev/dsk/c0d0s0 1442903 1439518 0 100 /
The root has reached its maximum usage 100%

Note: the physical hardrive with all OS' on, is using about 30 % of the
drive, thus, there is plenty of room spare.

Unfortunately looking at the above print out, indicates that I have reached
my limits on "root" at 100%, therefore my question is can I increase the
size of the "root" slice, I have a large amount of room on the
"/export/home" slice is it possible to decrease this in size and use the
spare room on the "root" slice.

The disk informtion is shown blow should this help.

3808 + 2 (Reserved Cylinder)
part Tag Flag Cyl Size Block
0 root wm 3 - 371 1.42GB (369/0/0) 2975616
1 swap " 372 - 522 594.56MG (151/0/0) 1217664
2 backup " 0 - 3807 14.64GB (3808/0/0) 30707712
3 unassigned " 0 0 (0/0/0)
0
4 " " " " "
"
5 " " " " "
"
6 " " " " "
"
7 home " 523 - 3807 12.63GB (3285/0/0) 26490240
8 boot " 0 - 0 3.94MB (1/0/0)
8064
9 alternative " 1 - 2 7.88MB (7/0/0) 16128


I would be grateful for any help, here, I have spare room on the hardrive,
if this is required.

Cheers

NickH

Reply To This Message
 
 Re: Root slice 100% used
Author: danny browne 
Date:   12-11-04 11:25

This is a BSD form, so you might be better off trying the Solaris form at:

forum.sun.com

Having only limited experience with solaris i don't know how much this will help (or how relevant it is) But here ya go.

For the senmail error you will need to enter you hostname and IP address in you etc/hosts file, e.g;

192.16.1.3 hostname hostname.someisp.net

interms of resizing your you root slice i think it is not possible without a reinstall. (although i could be very wrong here) However, your root slice should not really be used as an active account, more as an administrative account for installing app's, creating other accounts and groups etc... As such you shouldnt really have been using the /root directory as a stroage area. Not sure bout solaris but with BSD the default slice size for root is only a couple of hundred megs. /usr and /home are your storage areas.

Whay do you want more space in root?

Delete some of the crap and grant one of your other accounts root access privilages.

Danny

Reply To This Message
 Forum List  |  Threaded View   Newer Topic  |  Older Topic 


 User Login
 User Name:
 Password:
 Remember my login:
   
 Forgot Your Password?
Enter your email address or user name below and a new password will be sent to the email address associated with your profile.
How to get the most out of the forum

phorum.org