Sponsored Content
Operating Systems Linux Unable to remove file using rm: Disk space is full Post 302207000 by Pankajakshan on Thursday 19th of June 2008 01:40:56 AM
Old 06-19-2008
Quote:
Originally Posted by sysgate
Didn't -f switch work ? Else, try looking for the inode number with -i and then remove it.
Hi Sysgate,

I tried out the same:

ls -li debug.out22621

22308 debug.out22621


find . -inum 22308 -exec rm -i {} \;
rm: remove regular file `./debug.out22621'? yes
rm: cannot remove `./debug.out22621': No space left on device


Am i doing anything wrong here?
 

9 More Discussions You Might Find Interesting

1. Solaris

[Sol10/VMWare] Unable to see new disk space.

The master copy was set to 5 gigs. As the instance is cloned, additional space is provided. I was given a new instance along with 15 gigs of additional space. The problem is I can't see the additional space, either as additional space on the primary disk or as a second disk. # format Searching... (8 Replies)
Discussion started by: BOFH
8 Replies

2. Solaris

solaris 8 / disk space almost full

Hi All, My Solaris 8 firewall server is getting full on the / filesystem. I don't know which one should I delete. I think there's no more to delete on the file like logs or temp file. Does someone knows about deleting a safe file (or folder) on FS like /usr, /opt, /platform, /kernel, /sbin?... (7 Replies)
Discussion started by: itik
7 Replies

3. UNIX for Dummies Questions & Answers

how to install new packages when disk space is full

during installation i created four partitions mainly / 5GB /home 1GB /boot 100MB swap 2GB now since i didnt make the /usr partition all of the packages were being installed in the / partition ..now all the space in the / partition is filled ...i ran du -h... (3 Replies)
Discussion started by: tarunicon
3 Replies

4. Solaris

Unable to understand disk layout and where are the free space

Hi I am unable to understand the disk layout of one of my disk attached to v240. This is newly installed system from jumpstart. I am unable to see the free space on backup slice 2 and there are 0 to 8 slices listed when I run format and print the disk info, also there is no reference of... (9 Replies)
Discussion started by: kumarmani
9 Replies

5. UNIX for Advanced & Expert Users

Disk Space full

I was tryin to copy a large file under /tmp location. I guess the disk space got full and i got fork error. Then I tried removing some files but the shell did not let me do anything bash> rm apache22.tar bash: fork: Not enough space bash> pwd /tmp bash> vmstat 1 bash: fork: Not... (3 Replies)
Discussion started by: mohtashims
3 Replies

6. Shell Programming and Scripting

Unable to catch the redirection error when the disk is full

Hi Experts, Problem summary : I am facing the below problem on huge files when the disk is getting full on the half way through the execution. If the disk was already full , the commands fail & everything is fine. Sample Code : head_rec_data_file=`head -1 sample_file.txt` cat... (9 Replies)
Discussion started by: Pruthviraj_shiv
9 Replies

7. Solaris

Unable to find utilized disk space on zone server.

Hi, I am unable to find remaining space on solaris 10. below is output. I am facing this issue on zone server. bash-3.00# df -h / Filesystem size used avail capacity Mounted on / 59G 59G 0K 100% / bash-3.00# pwd / bash-3.00# du -sh * 1K File_Stores 19K TT_DB 9K app 1K bin... (4 Replies)
Discussion started by: manoj.solaris
4 Replies

8. HP-UX

Unable to get full FS space after mounting

Hi, I am unable to get the full FS space, as /home is 100% utilized and after deleting unwanted files, its still 100%. After checking the du -sk * | sort -n output and converting it to MBs, the total sizes comes out to be 351 MBs only however the lvol is of 3GB. I don't know where is all the space... (2 Replies)
Discussion started by: Kits
2 Replies

9. AIX

Unable to remove VIOS disk

Hello, I am unable to remove the disk, whenever i remove the disk using rmdev -dl hdisk2 or rmdev -Rdl hdisk2 the disk appears back when i run cfgmgr but unable to create any volume group on it # mkvg -y foovg hdisk2 0516-008 /usr/sbin/mkvg: LVM system call returned an unknown ... (20 Replies)
Discussion started by: filosophizer
20 Replies
rmvol(8)						      System Manager's Manual							  rmvol(8)

NAME
rmvol - Removes a volume from an existing file domain SYNOPSIS
/usr/sbin/rmvol [-f] [-v] special domain OPTIONS
Forces the removal of a volume that contains one or more stripe segments without first requesting confirmation. Displays messages that describe which files are moved off the specified volume. Using this option slows the rmvol process. OPERANDS
Specifies the block device special file name, such as /dev/disk/dsk2c, of the volume that you are removing from the file domain. Specifies the name of the file domain. DESCRIPTION
The rmvol utility enables you to decrease the number of volumes within an existing file domain. When you attempt to remove a volume, the file system automatically migrates the contents of that volume to another volume in the file domain. The logical structure of the filesets in a file domain is unaffected when you remove a volume. If you remove a volume that contains a stripe segment, the rmvol utility moves the segment to another volume that does not already contain a stripe segment of the same file. If a file is striped across all volumes in the file domain, the utility requests confirmation before placing a second stripe segment on a volume that has one. Before you can remove a volume from a file domain, all filesets in the file domain must be mounted. If you try to remove a volume from an active file domain that includes unmounted filesets, the system displays an error message indicating that a fileset is unmounted. This mes- sage is repeated until you mount all filesets in the file domain. If you attempt to remove a volume from an inactive file domain, the system returns the ENO_SUCH_DOMAIN error message. A file domain is inactive when none of its filesets is mounted. In this case, the rmvol command does not remove the volume. If there is not enough free space on other volumes in the file domain to accept the offloaded files from the departing volume, the rmvol utility moves as many files as possible to free space on other volumes. Then a message is sent to the console indicating that there is not enough space to complete the procedure. The files that were not yet moved remain on the original volume. You can interrupt the rmvol process without damaging your file domain. AdvFS will stop removing files from the volume. Files already removed from the volume will remain in their new location. Interrupting an rmvol operation with the kill command can leave the volume in an inaccessible state. If a volume does not allow new allocations after an rmvol operation, use the chvol command with the -A option to reac- tivate the volume. RESTRICTIONS
You cannot run the rmvol utility while the defragment, balance, rmfset, or rmvol utility is running on the same domain. You must be the root user to use this utility. EXAMPLES
The following example removes a volume from an active file domain called accounts_dmn. The file domain contains two volumes, /dev/disk/dsk1c and /dev/disk/dsk2c. This example removes volume /dev/disk/dsk1c from the file domain: # rmvol /dev/disk/dsk1c accounts_dmn The /etc/fdmns/accounts_dmn subdirectory now has only one entry, the entry for /dev/disk/dsk2c. The following example removes one volume from a three-volume file domain. Each volume in the accounts_dmn file domain contains one segment of /usr/myfile, which is a three-way striped file: # rmvol /dev/disk/dsk3c accounts_dmn rmvol: Removing volume '/dev/disk/dsk3c' from domain 'accounts_dmn' This volume contains one stripe segment of /usr/myfile, which will be moved to another volume in the file domain that already con- tains a stripe segment of /usr/myfile. Do you want to continue? (y/n):y One volume in the accounts_dmn file domain now contains two stripe segments of myfile, which is no longer an optimally striped file. FILES
Specifies the command path. Contains file domain names and devices. SEE ALSO
addvol(8), advfs(4), advscan(8), fdmns(4), mkfdmn(8), stripe(8) rmvol(8)
All times are GMT -4. The time now is 09:32 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy