Ubuntu Pastebin

Paste from linux4u at Thu, 12 Mar 2015 17:30:52 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#stopped the tar and you can see the disk space.
# df
Filesystem         1K-blocks      Used Available Use% Mounted on
/dev/md0           287972720 261500468  17691312  94% /
 
 
# nohup tar -cpjvf  --ignore-command-error /mnt/mntpoint/longfilesname.tar.bz2  /media/drive1
nohup: ignoring input and appending output to ‘nohup.out’
^C
 
#then after starting it for a second or two and stopping it I get my space back.
 
 
# df
Filesystem         1K-blocks      Used Available Use% Mounted on
/dev/md0           287972720 260682408  18509372  94% /
 
#started it again.
 
 df
Filesystem         1K-blocks      Used Available Use% Mounted on
/dev/md0           287972720 263300048  15891732  95% /
 
#as you can see I have lost 2 gigs+ of space and /tmp is only 300MB.
du -csh /tmp
336M    /tmp
336M    total
 
#now I will stop it.
#see this diskspace taken up.
df
Filesystem         1K-blocks      Used Available Use% Mounted on
/dev/md0           287972720 263448232  15743548  95% /
#and if I start it again let it run for 3 seconds and stop it all the space comes back.
df
Filesystem         1K-blocks      Used Available Use% Mounted on
/dev/md0           287972720 260904568  18287212  94% /
clone this paste
Download as text