- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- fsck on "/"
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
05-22-2001 11:27 AM
05-22-2001 11:27 AM
fsck on "/"
Do you know a way to run a fcsk on "/" to fix an open file handle issue?
I've deleted a ftp process which was writing a file on / and now is accusing file system full but it isn't really full...
I've already booted the box...
Thanks in advance,
Rafael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2001 11:40 AM
05-22-2001 11:40 AM
Re: fsck on "/"
If the filesystem is HFS, then yes, you can run fsck on /, BUT you really, really, REALLY want to do it from single user mode with a very quiet system and then only after a new backup is made. See the man page for fsck_hfs(1m) for the appropriate syntax.
If your root is JFS, then you cannot run fsck on / (or any filesystem) while it is mounted. You will need to boot up a recovery shell off the installation cd and then run it's fsck on your root device.
--Bruce
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2001 11:26 PM
05-22-2001 11:26 PM
Re: fsck on "/"
I would check the size of your files in the root filesystem, e.g. use
# find / -xdev -type f | xargs du -s | sort -n >/tmp/outfile
to get a list of regular files in the root file system sorted by size. Perhaps you can figure out a file that shouldn't be there.
Carsten
In the beginning the Universe was created. This has made a lot of people very angry and been widely regarded as a bad move. -- HhGttG
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2001 05:25 PM
05-23-2001 05:25 PM
Re: fsck on "/"
You can check if exist any file in /dev/rmt with permission not begin with c character , files like a -rxrwxrwx root sys /dev/rmt/0m or -rxrwxrwx root sys /dev/rmt/om. You can remove file like this, then I belive you will get free space on /
You can execute fsck on / following the hint from Bruce. Go ahead.
Valkiria
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2001 06:56 PM
05-23-2001 06:56 PM
Re: fsck on "/"
du -xk / | sort -rn > /var/tmp/du.root
Then look at /var/tmp/du.root for the biggest directory. Then look inside the biggest directories for files that need to be removed. Use this to list files by size:
ll /some_directory | sort -rnk5 | more
Bill Hassell, sysadmin