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
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
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
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
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
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
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
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
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
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
space(4) File Formats space(4)
NAME
space - disk space requirement file
DESCRIPTION
space is an ASCII file that gives information about disk space requirements for the target environment. The space file defines space needed
beyond what is used by objects defined in the prototype(4) file; for example, files which will be installed with the installf(1M) command.
The space file should define the maximum amount of additional space that a package will require.
The generic format of a line in this file is:
pathname blocks inodes
Definitions for the fields are as follows:
pathname Specify a directory name which may or may not be the mount point for a filesystem.
Names that do not begin with a slash ('/') indicate relocatable directories.
blocks Define the number of disk blocks required for installation of the files and directory entries contained in the pathname
(using a 512-byte block size).
inodes Define the number of inodes required for installation of the files and directory entries contained in the pathname.
EXAMPLES
Example 1: A sample file.
# extra space required by config data which is
# dynamically loaded onto the system
data 500 1
SEE ALSO
installf(1M), prototype(4)
Application Packaging Developer's Guide
SunOS 5.10 7 Feb 1997 space(4)