logout
asked on
Free space
$ df -k
Filesystem kbytes used avail capacity Mounted on
/dev/dsk/c0t3d0s0 61615 11938 43517 22% /
/dev/dsk/c0t3d0s6 123231 75827 35084 69% /usr
/proc 0 0 0 0% /proc
fd 0 0 0 0% /dev/fd
/dev/dsk/c0t3d0s4 92423 50304 32879 61% /var
/dev/dsk/c0t3d0s7 282831 243681 10870 96% /home
/dev/dsk/c0t3d0s5 184847 23553 142814 15% /opt
/dev/dsk/c0t3d0s3 123735 95934 15431 87% /usr/openwin
/dev/dsk/c0t4d0s1 1970661 1357520 416081 77% /mis
/dev/dsk/c0t0d0s4 480815 337400 95335 78% /dbase
/dev/dsk/c0t0d0s5 482831 186465 248086 43% /app
/dev/dsk/c0t1d0s1 963662 753852 113450 87% /exe
/dev/dsk/c0t4d0s6 1982493 355159 1429094 20% /fact
swap 75556 2180 73376 3% /tmp
I found that /fact is not enough space,
can I "free" /mis and then "give" to /fact?
How ?
Filesystem kbytes used avail capacity Mounted on
/dev/dsk/c0t3d0s0 61615 11938 43517 22% /
/dev/dsk/c0t3d0s6 123231 75827 35084 69% /usr
/proc 0 0 0 0% /proc
fd 0 0 0 0% /dev/fd
/dev/dsk/c0t3d0s4 92423 50304 32879 61% /var
/dev/dsk/c0t3d0s7 282831 243681 10870 96% /home
/dev/dsk/c0t3d0s5 184847 23553 142814 15% /opt
/dev/dsk/c0t3d0s3 123735 95934 15431 87% /usr/openwin
/dev/dsk/c0t4d0s1 1970661 1357520 416081 77% /mis
/dev/dsk/c0t0d0s4 480815 337400 95335 78% /dbase
/dev/dsk/c0t0d0s5 482831 186465 248086 43% /app
/dev/dsk/c0t1d0s1 963662 753852 113450 87% /exe
/dev/dsk/c0t4d0s6 1982493 355159 1429094 20% /fact
swap 75556 2180 73376 3% /tmp
I found that /fact is not enough space,
can I "free" /mis and then "give" to /fact?
How ?
ASKER
Any other method without backup data?
Depending on your flavor of Unix and the packages you have installed you could try the command "growfs".
To find out more try "man growfs" for the online manual pages or look to your administrator guide.
Typically this command is available on most platform but occasionally (as is the case with Solaris) there must be add on packages installed ...in the case of Solariris it would be the online disk suite or volume manager.
Good Luck !
To find out more try "man growfs" for the online manual pages or look to your administrator guide.
Typically this command is available on most platform but occasionally (as is the case with Solaris) there must be add on packages installed ...in the case of Solariris it would be the online disk suite or volume manager.
Good Luck !
Just a followup ...I assume you have already went through and manually cleaned up this filesystem right ??
Looking for large "core" files, tmp files, JUNK files ..etc ...
Especially core files ...they can get quite large !
Looking for large "core" files, tmp files, JUNK files ..etc ...
Especially core files ...they can get quite large !
Just a followup ...I assume you have already went through and manually cleaned up this filesystem right ??
Looking for large "core" files, tmp files, JUNK files ..etc ...
Especially core files ...they can get quite large !
Looking for large "core" files, tmp files, JUNK files ..etc ...
Especially core files ...they can get quite large !
symbolic linking a large /fact directory to /mis may suffice for your purposes
Symbolic likns wouldnt work until the target filesystem was removed ...cant link 2 existing filesystems to eachother ... am I wrong ?? dont think I am ?
I think ozo just means move over a reallly large file into /mis. Delete it from /fact, and create a symbolic link in its place. It's a messy quick fix, butmuch easier and quicker than repartioning the disk.
You can symbolic link from one partition to another without a problem.
You can symbolic link from one partition to another without a problem.
ASKER
How to can symbolic link from /mis to /fact?
Would u give me the command or example?
Would u give me the command or example?
Try this:
mv /mis/largefile /fact/largefile
ln -s /fact/largefile /mis/largefile
mv /mis/largefile /fact/largefile
ln -s /fact/largefile /mis/largefile
Looks good !
Logout...just so you understand why you are linking as well as moving the file.
MV will actually place the file or directory into a new filesytem space, however your apps may still be pointing to the old location therefore you need to use the symbolic link to ensure that the move is transparent to your apps.
well done guys, quick simple accurate.
Logout...just so you understand why you are linking as well as moving the file.
MV will actually place the file or directory into a new filesytem space, however your apps may still be pointing to the old location therefore you need to use the symbolic link to ensure that the move is transparent to your apps.
well done guys, quick simple accurate.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
then reformat the disk using format, and restore the data to the freshly pastioned disk.
Using format directly will destroy the data on the disk.