Strange file system size :confused:

Status
Not open for further replies.

aidasan

Explorer
Joined
Aug 9, 2011
Messages
67
Hello dear FreeNAS 8 friends,
I have a really strange problem.
On my NAS server i've install on the first time FreeNAS 8 Release.
After a time (10min) i've prefers to upgrade for FreeNAS 8.0.1 Beta4.
(With the CD the update)
No it work but i have a mail every 5 min :

-----Message d'origine-----
From: root (Cron Daemon)
Sent: Monday, August 15, 2011 10:15 AM
To: root
Subject: Cron /usr/local/bin/python /usr/local/bin/graph.py

Traceback (most recent call last):
File "/usr/local/bin/graph.py", line 467, in <module>
GenerateInterfaceGraph()
File "/usr/local/bin/graph.py", line 122, in GenerateInterfaceGraph
'GPRINT:global_tot_tx:ca. %5.1lf%s Total\l'
rrdtool.error: Could not save png to '/tmp/graph/if-vge0-1d.png'

So I used command line to see what happened :

freenas# df -h
Filesystem Size Used Avail Capacity Mounted on
/dev/ufs/FreeNASs1a 927M 398M 455M 47% /
devfs 1.0K 1.0K 0B 100% /dev
/dev/md0 4.4M 2.4M 1.6M 60% /etc
/dev/md1 686K 10K 622K 2% /mnt
/dev/md2 75M 74M -5.7M 108% /var
/dev/ufs/FreeNASs4 20M 917K 17M 5% /data
/dev/ufs/DisqueRaid1 577G 303G 228G 57% /mnt/DisqueRaid1
/dev/ufs/DisqueRaid0 577G 218G 313G 41% /mnt/DisqueRaid0

:confused: WTF :confused:

The /var is full o_O

Normally the 8.0.1 beta4 files system use 2gb ?

I have this config :

Hostname: freenas.MAISON
OS Version: FreeBSD 8.2-RELEASE-p2
Platform: VIA Esther processor 1000MHz
Memory: 1902MB
System Time: Mon Aug 15 11:53:55 CEST 2011
Uptime: 11:53AM up 1 day, 30 mins, 1 user
Load Average: 0.03, 0.08, 0.22
FreeNAS Build: FreeNAS-8.0.1-BETA4-i386

Thanks if anybody have a solution ...
 

Tekkie

Patron
Joined
May 31, 2011
Messages
353
Check /var/log size might be some large log file lurking around.
 

aidasan

Explorer
Joined
Aug 9, 2011
Messages
67
Hello Tekkie,
Thank for your help I've already done this but i don't understand why it happen ?
if anybody with a pure 8.0.1 beta4 install can make on this post the result of the df -h command ?
I'm not sure about my partition size.

Ps my system HDD is a 120Gb hard drive.
 

William Grzybowski

Wizard
iXsystems
Joined
May 27, 2011
Messages
1,754
/var is a memory filesystem... please check in /var what is taking up the size...

Also note tha freenas 8 is to be installed in a usb flash or something alike because you cannot use extra space, just to make it clear as you said you have got a 120gb hdd
 

aidasan

Explorer
Joined
Aug 9, 2011
Messages
67
Hi,
the file was : setuid.today (64M) I've delete it and now the NAS is rebooting.
So /var is a ram drive ?
How can we change his size ?
 

ProtoSD

MVP
Joined
Jul 1, 2011
Messages
3,348
You can't, please take a look at the FAQs in my signature below. FreeNAS is only intended to be installed and run from a SMALL flash drive, like 2GB. The compressed image creates RAM drives for the live filesystems during boot.
 

aidasan

Explorer
Joined
Aug 9, 2011
Messages
67
Hello protosd,
Sorry for disappointed you but i just want to know if it's possible to enlarge the ramdrive size it's not on the flash drive or the HDD ?
And now i know what was the file with a size problem.
But why it happen that i don't know.
 

aidasan

Explorer
Joined
Aug 9, 2011
Messages
67
Hello,
I came back because it happen this night.
I don't know why, i've open the setuid.today (62Mb) file and it's a listing of all my file on the NAS.
Why there is that thing ?
Did you have an idea ?
 

ProtoSD

MVP
Joined
Jul 1, 2011
Messages
3,348
aidasan,

Making /var bigger won't solve your problem because there is something else that is wrong.
Normally setuid.today is used to generate a report about files with permissions that might cause security problems.
So when you look at setuid.today, you see a list of EVERY file on both of your UFS volumes?
How many physical hard drives do you have? It looks like only 2, but why are they called Raid0, and Raid1?
 

aidasan

Explorer
Joined
Aug 9, 2011
Messages
67
Hello,
I have 4 drive, 2 in raid 1 (mirror) : DiskRaid0 and 2 also in raid 1 (mirror) : DiskRaid1
All the files on those drive are with 777 right.
The NAS is on a local network without internet and wifi.
Everybody can do anything without login (only on data files).
if you have a better idea ?
 

ProtoSD

MVP
Joined
Jul 1, 2011
Messages
3,348
What you explained sounds ok, I was just trying to understand your configuration better.
Did you upgrade from an older version of FreeNAS like .7x?

I think maybe you found a bug with FreeNAS. I don't know what else to ask you to try. Maybe one of the 'nightly' versions will fix it for you. Those are here http://sourceforge.net/projects/freenas/files/FreeNAS-8-nightly/

Maybe somebody else here has some ideas?
 

William Grzybowski

Wizard
iXsystems
Joined
May 27, 2011
Messages
1,754
Looks like you have been rooted or something.

I strong suggest you to save the configuration file, install 8.0.1-BETA4 and restore config...
 

aidasan

Explorer
Joined
Aug 9, 2011
Messages
67
Hello William,
I don't understand what do you mean by rooted or something ?

@Protosd, I have an old 0.69 freenas and a install the 8.0 release then update to 8.0.1.
The UFS data disk are auto imported.
Maybe i must del them est recreate new one ?
 

aidasan

Explorer
Joined
Aug 9, 2011
Messages
67
Hello everybody.
I've find a soluce for my problem.
I use this command : chmod 0777 on DisqueRaid0 and DisqueRaid1
Now the setuid.today is really smaller ^^

Thank you ^^
 
Status
Not open for further replies.
Top