- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- root directory is 100 % full,in HP-UX as i mistake...
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
тАО04-13-2009 11:47 PM
тАО04-13-2009 11:47 PM
root directory is 100 % full,in HP-UX as i mistakenly mistyped in coldbackup
in /dev/rmt folder there is a file which as the huge space occupied.iam unable to move,copy or delete the fileto other location.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-13-2009 11:54 PM
тАО04-13-2009 11:54 PM
Re: root directory is 100 % full,in HP-UX as i mistakenly mistyped in coldbackup
> file[...]
Delete would be good. "I am unable" is not a
useful description.
What did you try?
What happened when you tried it?
If some process still has the file open, then
I'd guess that you should kill that process
before trying "rm".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-14-2009 12:02 AM
тАО04-14-2009 12:02 AM
Re: root directory is 100 % full,in HP-UX as i mistakenly mistyped in coldbackup
What is the file you are trying to delete (which is the folder in /dev/rmt)
give me the output of the ls -la from the folder which you are trying to delete/move
Check the permission of the file and see which process is associated.
As suggested by Steven Schweda kill the process and try rm.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-14-2009 12:19 AM
тАО04-14-2009 12:19 AM
Re: root directory is 100 % full,in HP-UX as i mistakenly mistyped in coldbackup
>>iam unable to move,copy or delete the fileto other location.
1st kill the process which is creating the file means which command you ran for taking backup kill that command it will automatically remove this file, if not then delete this file using rm command.
Suraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-14-2009 12:39 AM
тАО04-14-2009 12:39 AM
Re: root directory is 100 % full,in HP-UX as i mistakenly mistyped in coldbackup
If you have now booted the system to single-user mode, first run "mountall" to get the root filesystem out of read-only mode. In single-user mode, you cannot make any changes before doing that.
To remove a file containing a space, you must put quotes around the full pathname. If the problem is just a space character, this is easy:
rm -i "/dev/rmt/2mn -i"
(The -i option makes the rm command to ask before deleting the file.)
If the filename contains other invisible characters, you may have to use another method. To see the invisible characters, use "ll -b /dev/rmt" it will list the invisible characters using a backslash escape notation (\ddd) which you can directly use in the command line... so just copy & paste the name of the troublesome file from the "ll -b" output to the rm command.
Further alternatives:
There should be no regular files in /dev/rmt, only devices. Therefore we can tell the system to delete all regular files in that directory:
find /dev/rmt -type f -exec rm {} \;
If nothing else helps, an acceptable brute-force method would be to remove the entire /dev/rmt directory and then re-create it using "insf -e -Ctape".
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-14-2009 01:36 AM
тАО04-14-2009 01:36 AM
Re: root directory is 100 % full,in HP-UX as i mistakenly mistyped in coldbackup
It worked as per the instruction given...
I could remove the file by issuing the command in quotes.
Thanks alot for your Help