Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Deleting: Samba share (reiserfs) free space never goes up
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Gav
n00b
n00b


Joined: 10 Oct 2002
Posts: 65
Location: Surrey, UK

PostPosted: Sun Dec 08, 2002 10:48 pm    Post subject: Deleting: Samba share (reiserfs) free space never goes up Reply with quote

I have a RAID-5 array on my Gentoo box that stores all the files I need on my LAN using Samba. It works great except for one problem. It's not a major issue yet, but it could be soon!

When I move data off any share I don't seem to get any space reclaimed back. (I work from my Windows workstation and move the files off the server to the workstation). It could be that because the drive is so large that I don't see the extra 650MB for a CDR as my windows workstation measures in GB (eg 119GB free), but I doubt it wouldn't change when I've done it twice! What might I have set up wrong that allows me to delete but not reclaim that space back? the array is setup using ReiserFS. I don't know that much about it, so is that not reclaiming the space from files that were saved earlier than other data that's still there?

As I say, it's not a big problem now with ove 100GB free, but I expect that to decrease rapidly as I convert all my CD's to MP3...
Back to top
View user's profile Send private message
taskara
Advocate
Advocate


Joined: 10 Apr 2002
Posts: 3763
Location: Australia

PostPosted: Mon Dec 09, 2002 4:03 am    Post subject: Reply with quote

don't use windows to measure a linux partition's usage - it is never accurate.

instead use linux to check your partitions.

also your windows box may not have write permissions to delete.

or it may be moving them to the recycle bin (in which case they are still there), and you need to set it up to permanently delete
_________________
Kororaa install method - have Gentoo up and running quickly and easily, fully automated with an installer!
Back to top
View user's profile Send private message
Gav
n00b
n00b


Joined: 10 Oct 2002
Posts: 65
Location: Surrey, UK

PostPosted: Mon Dec 09, 2002 9:40 pm    Post subject: Reply with quote

How do I measure my partition usage in Linux? Although I've used Solaris and Linux for a while I've never come occross (or remembered!) any commend to display this simple information...

My workstation seems fine for deleting files, and they're not going in the windows recycle bin. I'm just wondering if there's an equivalent that may be setup on Gentoo's Samba ebuild by default. Or some smb.conf setting I've overlooked?

Could it be the ReiserFS?
Back to top
View user's profile Send private message
taskara
Advocate
Advocate


Joined: 10 Apr 2002
Posts: 3763
Location: Australia

PostPosted: Mon Dec 09, 2002 9:50 pm    Post subject: Reply with quote

it is possible to be reiserfs, but not the first thing I would look at.

there's a tool called "du" that you can use to check your, funnilly enough, Disk Usage :D
_________________
Kororaa install method - have Gentoo up and running quickly and easily, fully automated with an installer!
Back to top
View user's profile Send private message
Zr40
Tux's lil' helper
Tux's lil' helper


Joined: 19 Sep 2002
Posts: 76

PostPosted: Mon Dec 09, 2002 9:53 pm    Post subject: Reply with quote

du only checks the size of the files in the current/specified directory.
Use df if you want to see the free space of currently mounted partitions.
(If you use large drives, try putting the -h switch after du for easier viewing.)

In Windows, files on network drives never get into the recycle bin. Also, if Windows is unable to delete due to permissions, it will tell you.

Of course, 650MB isn't a gigabyte. Try copying that file twice, check the free space, delete the copied files, and check again.
Back to top
View user's profile Send private message
taskara
Advocate
Advocate


Joined: 10 Apr 2002
Posts: 3763
Location: Australia

PostPosted: Mon Dec 09, 2002 10:05 pm    Post subject: Reply with quote

thought he could use du to check his music dir to see if it's decreasing

then use df to check the overall partition, good idea
_________________
Kororaa install method - have Gentoo up and running quickly and easily, fully automated with an installer!
Back to top
View user's profile Send private message
Gav
n00b
n00b


Joined: 10 Oct 2002
Posts: 65
Location: Surrey, UK

PostPosted: Mon Dec 09, 2002 10:18 pm    Post subject: Reply with quote

It looks like the space is being reclaimed from the du and df commands. It just wasn't noticable. Copying some more files off the server now shows 120GB free on windows! :D

Thanks for all the help - I hope I remember those commands!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum