- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Root "/" full. can't login
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
06-12-2002 08:01 AM
06-12-2002 08:01 AM
Root "/" full. can't login
Can't loging to server as myself or root. / is full. How do I get into the system and clean up /var?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2002 08:05 AM
06-12-2002 08:05 AM
Re: Root "/" full. can't login
1) You can boot the system in single user mode and delete the unwanted files.
2) If /var is a seperate file system, then cleaning /var will not solve the problem. You need to find out the files/directories under root file system (/) and NOT mount_points. Check it with:
# bdf
3) Check /dev and /etc file systems too. Normally if you give '/dev/rmt/om' instead of '/dev/rmt/0m' while backup, then the root will get full !
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2002 08:06 AM
06-12-2002 08:06 AM
Re: Root "/" full. can't login
You will be able to log in on the console as root successfully (if not then you need to reboot in single user mode), then look in / for any large files which shouldnt be there and delete them, or most likely you have some large files in /dev or /etc which you should delete.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2002 08:09 AM
06-12-2002 08:09 AM
Re: Root "/" full. can't login
Only / will be mounted at this time so if you need to clean up /var, you need to mount it manually, clean it up, and umount it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2002 08:10 AM
06-12-2002 08:10 AM
Re: Root "/" full. can't login
As indicated, once logged-in, do two things:
1) Do *not* use anything other than 'cleanup' to manage the /var/adm/sw directory!
2) Look for non-special files in '/dev/'. A very commen mistake is to miskey /dev/rmt/om' when you meant '/dev/rmt/0m', thereby creating a large "backup" file in the '/dev/' directory.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2002 08:12 AM
06-12-2002 08:12 AM
Re: Root "/" full. can't login
Boot the system in single user mode
ISL > hpux -is
Then go to the /var directory and delete the log files. Check for the big files greater then 2MB by this command
cd /var
find . -type f -size +2000000c -exec ll {}\; |sort -rn|more
Then check for the log files > 2MB and trim them.
Check for /dev/rmt/* file if the size is more...and delete them.
Check for the size of wtmp, syslog.log and other log files.
Piyush
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2002 08:15 AM
06-12-2002 08:15 AM
Re: Root "/" full. can't login
Try doing a ftp as a root
the cd / var/adm or the directory
delete filename
I hope you can ftp to it .
the second way is to boot it in sigle user mode.
Manoj Srivastava
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2002 08:16 AM
06-12-2002 08:16 AM
Re: Root "/" full. can't login
U reboot the system. While booting disturb the auto boot process and get in to ISL prompt. Then issues this command
ISL>hpux -is
Now system will take U to single user mode.
Then check up for unwanted big files in /
#find / -xdev -name core -print Will tell U whether any core is there or not. If it is there delete those
then go to /var
#cd /var
#du -a | sort -n
This will list U all the files in order of size. Check up for the big log files and trim it or compress it.
Normally ther are /var/adm/syslog/syslog.log, /var/adm/wtmp, /var/adm/btmp..etc
Check up in /dev directory for a big file which is created by wrong backup command.
At last, If rqd U can think of increasing / file system, provided U should have free space in vg00 and should be contigous.
Best of luck
Shahul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2002 08:23 AM
06-12-2002 08:23 AM
Re: Root "/" full. can't login
hpux -is
Then search for large files.
Delete the files ( first empty then with " > file_name ).
boot the system normaly.
Try this.
Juanma.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2002 10:38 AM
06-12-2002 10:38 AM
Re: Root "/" full. can't login
du -kx | sort -rn | more
This will sort the directories by largest contents. Check those directories first for anything unusual.
Marty