[nmglug] usb drive
BrianO'Keefe
okeefe at cybermesa.com
Wed Aug 16 12:48:47 PDT 2006
Ed Brown wrote:
>
>
> BrianO'Keefe wrote:
>
>>> brianokeefe at ubuntu:/media$ ls -l
>>> total 744916
>>> lrwxr-xr-x 1 root root 6 2005-08-25 12:05
>>> cdrom -> cdrom0drwxr-xr-x 2 root root 4096
>>> 2005-08-25 12:05 cdrom0
>>> -rw-r--r-- 1 root root 762030080 2006-08-15 12:59
>>> For_linux
>>> drwxrwxrwx 15 brianokeefe brianokeefe 4096 2006-08-15 13:09
>>> For_Linux
>>> drwxr-xr-x 2 root root 4096 2006-08-13 20:58 sda9
>
> On first looking at For_linux, I thought it was 7GB, but guess that's
> only 3/4GB, + or -. So it may not account for your missing space...
>
> Here's one more command that can be useful in seeing where disk space
> has gone. It's du, but only showing one directory level at a time, so
> you can often see at a glance what subdirectory tree to follow to find
> the hogs:
>
> du -h --max-depth=1
>
> So try this in /media first, then maybe For_Linux, etc. By the way,
> besides showing subdirectory totals, the final total indicated by this
> command includes the files in the current directory.
>
> -Ed
>
> _______________________________________________
> nmglug mailing list
> nmglug at nmglug.org
> http://www.nmglug.org/mailman/listinfo/nmglug
>
Right. somehow a video file got chunked in there with that name. Don't
ask me how. Here's what I get from the commands (so helpful!). As you'll
see, /media/For_Linux has 11GB used according to the du command but 25GB
according to the df command.
brianokeefe at ubuntu:~$ sudo du -h --max-depth=1 /media
4.0K /media/cdrom0
4.0K /media/sda9
22G /media/Tarman
6.4G /media/Misc
11G /media/For_Linux
39G /media
brianokeefe at ubuntu:~$ sudo du -h --max-depth=1 /media/For_Linux
4.0K /media/For_Linux/MoviesToDo
12K /media/For_Linux/.Trashes
3.0G /media/For_Linux/DVD
4.0K /media/For_Linux/.Trash-root
3.1G /media/For_Linux/Nausicaa
4.0K /media/For_Linux/.Trash-1000
268M /media/For_Linux/Pictures
1012M /media/For_Linux/AudioBooks
4.0K /media/For_Linux/.Trash-brianokeefe
228M /media/For_Linux/8-06SanDiegoTrip
4.0K /media/For_Linux/ToVidMovies
11G /media/For_Linux
brianokeefe at ubuntu:~$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/hda8 15G 11G 3.7G 75% /
varrun 378M 136K 378M 1% /var/run
varlock 378M 4.0K 378M 1% /var/lock
udev 378M 212K 378M 1% /dev
devshm 378M 0 378M 0% /dev/shm
lrm 378M 480K 378M 1%
/lib/modules/2.6.15-26-powerpc/volatile
/dev/sda9 31G 25G 4.4G 85% /media/For_Linux
/dev/sda11 68G 23G 46G 33% /media/Tarman
/dev/sda13 51G 6.5G 45G 13% /media/Misc
brianokeefe at ubuntu:~$
More information about the nmglug
mailing list