Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

moving files from disk to disk

Status
Not open for further replies.

gabjones

IS-IT--Management
Sep 26, 2001
3
GB
Hi guys,
I have two disks on my system. How do I move files from the
/ (/dev/dsk/c0t0d0s0)to the /space(/dev/dsk/c0t1d0s4). This disk is getting a bit full up.

I usually type mv <file name> /space/filename

Does this actually move files from the / to the /space

I have been moving files for quite a while but the /space is still at 6%

Is there a better way to do this. the output os df -k is below

# df -k
Filesystem kbytes used avail capacity Mounted on
/dev/dsk/c0t0d0s0 32944868 18432996 14182424 57% /
/proc 0 0 0 0% /proc
fd 0 0 0 0% /dev/fd
/dev/dsk/c0t1d0s4 35009161 2029907 32629163 6% /space
swap 3458944 904 3458040 1% /tmp
 
Run &quot;df -k&quot; before and after running &quot;mv&quot;, then compare &quot;used&quot; and &quot;availability&quot; columns. Don't worry about the 6%. Your file may not be big enough to change the %.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top