143b8 Empty UFS drive Shows 577GB Used in Win7 - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Base System > Storage

Storage Place to ask questions about partitioning, labelling, filesystems, encryption or anything else related to storage area.

Reply
 
Thread Tools Display Modes
  #1  
Old December 10th, 2012, 05:11
Steve_Laurie Steve_Laurie is offline
Junior Member
 
Join Date: Jan 2011
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default Empty UFS drive Shows 577GB Used in Win7

Hello all,

I've got 4 x WD2002FAEX 2T drives setup in RAID0 using Rocket 640L RAID controller.
I've newfs the array, set soft updates and when I do 'du -h' it showed something like 400k used (the .snap file) but when I mount it via SAMBA on my Windows 7 box, it shows 577GB used. Can anyone explain this to me? Am I missing something?

I'm running FreeBSD 8.2-RELEASE amd64
SAMBA Version 3.5.6
Reply With Quote
  #2  
Old December 10th, 2012, 08:32
fluca1978 fluca1978 is offline
Member
 
Join Date: May 2010
Posts: 663
Thanks: 27
Thanked 60 Times in 57 Posts
Default

Could it be a problem with the protocol? Try changing the protocol option to LANMAN2, even if NT1 should be better....
Reply With Quote
  #3  
Old December 10th, 2012, 08:59
SirDice's Avatar
SirDice SirDice is offline
Moderator
 
Join Date: Nov 2008
Location: Rotterdam, Netherlands
Posts: 13,702
Thanks: 47
Thanked 2,022 Times in 1,861 Posts
Default

Not related but update your system, 8.2 is End-of-Life.

http://www.freebsd.org/security/#unsup
__________________
Senior UNIX Engineer at Unix Support Nederland
Experience is something you don't get until just after you need it.
Reply With Quote
  #4  
Old December 10th, 2012, 11:27
Steve_Laurie Steve_Laurie is offline
Junior Member
 
Join Date: Jan 2011
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by SirDice View Post
Not related but update your system, 8.2 is End-of-Life.

http://www.freebsd.org/security/#unsup
Thanks. I know. I will. Just waiting for 9.1-RELEASE to arrive. Just such a huge job re-setting up SAMBA, DNS, NFS, DHCP etc. servers (don't like upgrading).
Reply With Quote
  #5  
Old December 10th, 2012, 12:38
usdmatt usdmatt is offline
Member
 
Join Date: Mar 2009
Posts: 253
Thanks: 1
Thanked 67 Times in 56 Posts
Default

Can you show the full df -h output and what Windows thinks the used/avail space is.

Also, I'm a bit concerned about a RAID0 array of 4 x 2TB disks. What specific reason did you have for creating such a risky array? I assume the data is either temporary and can be re-created, fully backed up somehow, or you just don't care if you lose it next week.
Reply With Quote
  #6  
Old December 10th, 2012, 14:32
Steve_Laurie Steve_Laurie is offline
Junior Member
 
Join Date: Jan 2011
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by usdmatt View Post
Can you show the full df -h output and what Windows thinks the used/avail space is.

Also, I'm a bit concerned about a RAID0 array of 4 x 2TB disks. What specific reason did you have for creating such a risky array? I assume the data is either temporary and can be re-created, fully backed up somehow, or you just don't care if you lose it next week.
I can't show output from 'df -h' as I've already started putting all of my data back on the drive - which answers another one of your queries - everything's backed up to the hilt on several external 3T drives. I don't have a huge amount of data but I do enjoy the extra space and although I know RAID0 can be risky, I'm taking precautions.

'du -h' was showing everything correctly with only 400k used. I've attached a gif showing the empty mounted share as it appeared on Windows.


The whole reason why I'm going through this now is I just lost a drive and had to replace it. As good as the Caviar Blacks are, they're not infallible.
Attached Images
File Type: gif Empty Drive.gif (5.0 KB, 7 views)
Reply With Quote
  #7  
Old December 10th, 2012, 15:14
usdmatt usdmatt is offline
Member
 
Join Date: Mar 2009
Posts: 253
Thanks: 1
Thanked 67 Times in 56 Posts
Default

Quote:
Originally Posted by Steve_Laurie View Post
The whole reason why I'm going through this now is I just lost a drive and had to replace it. As good as the Caviar Blacks are, they're not infallible.
Exactly my point really. These modern big drives drop like flies and surely it would be better to have slightly less space and some redundancy rather than go through restoring everything every time a disk fails. A failed drive would just mean a 5 minute shutdown to put a new disk in. Judging by the services you mention I can't see performance being a concern (In fact you may be better off with cheaper WD-RED NAS disks if this box is on 24x7 instead of Blacks).

The only reason I asked to see the full df is that as Samba doesn't share an actual filesystem like NFS, but individual folders, I don't trust the way it works out the space. It should simply show the space of the filesystem that the shared folder is on but I'm pretty sure I've seen seemingly random figures before as well. I was wondering if it was possible to match the figures Windows is seeing with other disk usage on the server (or some other clue like there being a specific ratio between the reported use and overall size).
Reply With Quote
  #8  
Old December 12th, 2012, 10:47
Sfynx Sfynx is offline
Member
 
Join Date: Nov 2008
Location: Rotterdam, The Netherlands
Posts: 114
Thanks: 0
Thanked 13 Times in 10 Posts
Default

Quote:
Originally Posted by Steve_Laurie View Post
Thanks. I know. I will. Just waiting for 9.1-RELEASE to arrive. Just such a huge job re-setting up SAMBA, DNS, NFS, DHCP etc. servers (don't like upgrading).
I'm not sure why you would have to do that... just upgrade FreeBSD base (and rebuild all your ports because the 8.2 -> 9.1 causes shared library version bumps). My upgrade path is basically # freebsd-update upgrade -r ?.?-RELEASE
, merge configuration files,# freebsd-update install,update ZFS boot code in case it changed, reboot, # freebsd-update install, and then rebuild all ports and a final # freebsd-update install in case it instructs me to.
Reply With Quote
  #9  
Old December 12th, 2012, 10:52
SirDice's Avatar
SirDice SirDice is offline
Moderator
 
Join Date: Nov 2008
Location: Rotterdam, Netherlands
Posts: 13,702
Thanks: 47
Thanked 2,022 Times in 1,861 Posts
Default

You could also update to 8.3. No rebuilding of ports would be needed. And it's going to be supported for a while.
__________________
Senior UNIX Engineer at Unix Support Nederland
Experience is something you don't get until just after you need it.
Reply With Quote
  #10  
Old December 12th, 2012, 14:30
wblock@'s Avatar
wblock@ wblock@ is online now
Moderator
 
Join Date: Sep 2009
Location: Milky Way galaxy
Posts: 7,711
Thanks: 432
Thanked 1,757 Times in 1,456 Posts
Default

Quote:
Originally Posted by Steve_Laurie View Post
The whole reason why I'm going through this now is I just lost a drive and had to replace it. As good as the Caviar Blacks are, they're not infallible.
The 2TB Black drives don't have a very good reputation for reliability.
Reply With Quote
  #11  
Old December 13th, 2012, 04:21
throAU throAU is offline
Member
 
Join Date: Jan 2012
Location: Perth, Western Australia
Posts: 561
Thanks: 92
Thanked 78 Times in 72 Posts
Default

Quote:
Originally Posted by wblock@ View Post
The 2TB Black drives don't have a very good reputation for reliability.
They're also not a supported drive for running in RAID, due to lack of TLER support.

I had a pair of 512 GB blacks running in RAID1 before I discovered this, and would get frequent rebuilds due to this fact. Replaced with another pair of new (at the time) 1 TB blacks (due to thinking that one or both had failed), same issue. Discovered lack of RAID support on the internet. Not happy.

Running 4 of them in RAID0?

Good luck!

I wouldn't use a hardware RAID controller, I'd set them up using ZFS instead (which doesn't have a problem with the lack of TLER support). In fact this is what I've done...
__________________
I use: FreeBSD, Mac OS X, Windows, Netapp, Cisco UCS, Cisco CUCM, Cisco IOS, Cisco ASA, vSphere 5.1, Cisco ISE, Orion NPM
Reply With Quote
Reply

Tags
cifs, disk space, samba, smb, windows 7

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mounting DVD drive shows error message: AutoSense failed mnlnl4 Peripheral Hardware 0 May 13th, 2012 03:29
win7 + FreeBSD kopalefa Installing & Upgrading 1 January 24th, 2011 20:29
[Solved] ZFS Pool shows empty after reboot until it's reimported. spawnu General 5 October 12th, 2010 09:39
ZFS: df shows data usage when filesystem is empty mcj General 0 May 22nd, 2010 02:16
SiS 964 shows up as UDMA133, connected SATA150 drive shows as UDMA33 - FreeBSD 8.0 torpesco System Hardware 11 February 9th, 2010 21:33


All times are GMT +1. The time now is 07:03.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0