Linux Help, moved DIRS missing

Soldato
Joined
7 Jan 2003
Posts
3,205
Location
Offline
Some background.
I'm running a Linksys NSLU2 with the root Unslung to a USB stick on port 2 and 4 NTFS disk through a HUB on port 1.

Filesystem 1k-blocks Used Available Use% Mounted on
rootfs 1687716 51520 1619052 3% /
/dev/sda1 6528 6328 200 97% /initrd
/dev/sda1 1687716 51520 1619052 3% /
/dev/sda1 1687716 51520 1619052 3% /share/flash/data
/dev/sda2 122931 4149 117513 3% /share/flash/conf
/dev/sdb1 19526972 8122544 11404428 42% /share/hdd/data/HDD_1_1_1
/dev/sdc1 39062012 11554680 27507332 30% /share/hdd/data/HDD_1_2_1
/dev/sdd1 293049664 249753928 43295736 85% /share/hdd/data/HDD_1_3_1
/dev/sde1 293049664 265325352 27724312 91% /share/hdd/data/HDD_1_4_1


My music collection is on /dev/sdc1. The music was sorted into folders by genre in the root of HDD 2, /share/hdd/data/HDD_1_2_1.

This is what I did;

cd /share/hdd/data/HDD_1_2_1
mkdir "My Music"
mv Dance "My Music"
mv Bhangra "My Music"
and the same for another 3 DIRs

Now when I cd to "My Music" I see nothing but the filesystem still shows 30% of the 30GB disk used (i.e. 10GB used) which is correct. So the files are still there somewhere, but where?

Below is a view of /share/hdd/data/HDD_1_2_1

-rwxrw---- 1 guest everyone 2560 May 31 01:37 $AttrDef
-rwxrw---- 1 guest everyone 0 May 31 01:37 $BadClus
-rwxrw---- 1 guest everyone 1220688 May 31 01:37 $Bitmap
-rwxrw---- 1 guest everyone 8192 May 31 01:37 $Boot
drwxrwx--- 2 guest everyone 4096 May 31 01:37 $Extend
-rwxrw---- 1 guest everyone 67108864 May 31 01:37 $LogFile
-rwxrw---- 1 guest everyone 1769472 May 31 01:37 $MFT
-rwxrw---- 1 guest everyone 4096 May 31 01:37 $MFTMirr
-rwxrw---- 1 guest everyone 0 May 31 01:37 $Secure
-rwxrw---- 1 guest everyone 131072 May 31 01:37 $UpCase
-rwxrw---- 1 guest everyone 0 May 31 01:37 $Volume
drwxrwx--- 7 guest everyone 4096 Jun 4 21:19 .
drwxrwxr-x 6 admin everyone 4096 Jun 4 17:06 ..
drwxrwx--- 2 guest everyone 4096 Jun 4 19:29 My Music
drwxrwx--- 3 guest everyone 4096 May 31 02:43 RECYCLER
drwxrwx--- 3 guest everyone 4096 May 31 02:32 System Volume Information


I'm new to Linux and I thought I used the correct mv commands, my understanding is;

mv dir1 dir2

renames dir1 to dir2. if dir2 already exists then dir1 is moved into dir2

What command can I use to see where the 10GB of used space is?
If someone want to connect to my box and help I can give you temp access.
 
Associate
Joined
28 Nov 2003
Posts
1,906
Location
/home
One thing you could try:

Code:
slocate -u          #updates / creates slocate database
locate Dance        #do a search for the recently moved Dance folder
 
Soldato
OP
Joined
7 Jan 2003
Posts
3,205
Location
Offline
slocate isn't found

locate is but looks like the db doesn't exist;

/share/hdd/data/HDD_1_2_1 # locate Dance
locate: /var/locatedb: No such file or directory


Tried "find / -name *.mp3" and it found some files with the .mp3 extention in the RECYCLER folder.

That's a Windows folder though, it's an NTFS partition. I'm at work now. Will remove the disk and connect to a Windows PC when I get home tomorrow morning.

What's puzzling is where the files went. After I moved the music dirs I used the same commands/method to move some movie dirs around on the other disks, also NTFS.

Not a big deal about recovering the files as all the music is backed up. If I had to rip all the CDs again and redo the ID3 tags I'd be crying :).

I'm learing Linux and really just want to know how I can see what's using the 10GB of used space.
 
Last edited:
Back
Top Bottom