Operating System - HP-UX
1830136 Members
2505 Online
109999 Solutions
New Discussion

Re: Login failure due to /dev/root file system full

 
Purushothaman_1
New Member

Login failure due to /dev/root file system full

hi
When I am trying to login to HPUX 11i with any account box I get following message

Wait for login exit: ..

msgcnt 1406 vxfs: mesg 001: vx_nospace - /dev/root file system full (1 block ext
ent)

Does anybody has workaround this problem?

Thanks in advance

Regards
Purush
10 REPLIES 10
Devender Khatana
Honored Contributor

Re: Login failure due to /dev/root file system full

Hi,

You can try creating some free space through some allready logged in user.

Or you can try logging in at the system console which should be able to let you in where you can do the needful.


HTH,
Devender
Impossible itself mentions "I m possible"
Purushothaman_1
New Member

Re: Login failure due to /dev/root file system full

Hi Devendar

Thanks for your reply.

Unfortunately no other user is connected .

I am new to HPUX .. Can you tell me the procedure to connect using console


Regards
Purushothaman
Devender Khatana
Honored Contributor

Re: Login failure due to /dev/root file system full

Hi,

Is there MP/GSP in your server? If yes log into that IP and try logging in using root.

Otherwise go to system console and try logging using root.

Are you not trying root login?

HTH,
Devender
Impossible itself mentions "I m possible"
Purushothaman_1
New Member

Re: Login failure due to /dev/root file system full

hi
I tried to login using console port. Console port was displaying errror that unable to write to log file due to 0% Free diskspace. I hard booted the system. Now I could able to login to the sytem with non root user and root user in failsafe mode.

These are my disk statstics
$ bdf
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol3 212992 212992 0 100% /
/dev/vg00/lvol1 298928 40392 228640 15% /stand
/dev/vg00/lvol8 4718592 4551128 166744 96% /var
/dev/vg00/lvol7 1966080 1371344 590104 70% /usr
/dev/vg00/lvol4 1048576 20096 1021280 2% /tmp
/dev/vg00/lvol6 2457600 1433472 1016984 58% /opt
/dev/vg00/lvol5 25608192 11407088 14100800 45% /home


I would like to extend the volume space for the mount point / using sam but couldnt due to SAM unable to umount the file system as lots of process are running for this mount point. I found this using fuser-cu command.

Is there a way to increase this???
Devender Khatana
Honored Contributor

Re: Login failure due to /dev/root file system full

Hi,

It is not possible to increase root like this unless you have Online JFS installed. With that also it is quite tricky as your root has to be contiguous and there may not be free extents available after root LVOL in your vg.

A better idea will be to look for some big files lying in root, Otherwise rott should not gro in size. A commonly mistyped backup command sometime create huge files in /dev causing these symptoms.

You can check for utilization of the space under root by.

#du -t vxfs |sort -rnk 1 |pg

It will least biggest file on top and will help to find the file taking huge space under root.

HTH,
Devender
Impossible itself mentions "I m possible"
Purushothaman_1
New Member

Re: Login failure due to /dev/root file system full

Hi

I found these following big files. Am not sure whether allowed to move this.

Location : ./.secure/etc

Files found

-rw------- 1 root sys 1026933 Nov 26 10:14 audfile1
-rw------- 1 root sys 88170490 Nov 26 10:15 audfile2


can you help plz.


regards
Purush
Devender Khatana
Honored Contributor

Re: Login failure due to /dev/root file system full

Hi Purush,

This means auditing is enabled on your system. You can switch audit log file and can also null out these files if the auditing data is not required for recent events.

You can define new audit log file in some other file system with enough space using audsys command.

#audsys -c 150000 -c /path_to_file/new_file_name

Once new file is created you can copy this file to another file system.

HTH,
Devender
Impossible itself mentions "I m possible"
Purushothaman_1
New Member

Re: Login failure due to /dev/root file system full

Hi Devender
Thanks for your reply. It worked at last..

I havent enabled the auditing as this is only a test server.

Have a nice weekend!!!

Cheers
Purushothaman
Devender Khatana
Honored Contributor

Re: Login failure due to /dev/root file system full

Hi Purush,

A better command for looking file consuming space under root only would be

#du -x /|sort -rnk 1 |pg

If the auditing is not required for the system you can turn it off using

#audsys -f

Once stopped you can null out the above two files by

#>/secure/etc/audfile1

#>/secure/etc/audfile2

Also take some time to assign points to the responses for replies of your questions. This will help others to find a solution for similar problems and will also get you prompt responses in future.

Rgds,
Devender
Impossible itself mentions "I m possible"
Shane Russell
Regular Advisor

Re: Login failure due to /dev/root file system full

Hi Purush,

There is a way to solve this issue without a reboot.

Use Reflection X to establish a "XDMCP Direct" connection to your host. Once you are on check for core files in the / file systems and remove them,

regards,
Shane