Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
grossa incoerenza spazio occupato
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
Gremo
Guru
Guru


Joined: 27 Feb 2006
Posts: 450

PostPosted: Sun Jun 11, 2006 11:34 pm    Post subject: grossa incoerenza spazio occupato Reply with quote

ciao a tutti,
dopo l'aggiornamento a gcc 4.1.1 e un emerge -e system && emerge -e world (e successiva pulizia dei distfiles), due programmi sbagliano di grosso l'occupazione dello spazio su /dev/hda5 montato su root:

Code:

gremo@localhost ~ $ df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/hda5             9.6G  8.4G  1.3G  88% /


avrei occupato secondo df circa 9 gb...
un altro programma, kdirstat, mi mostra questo:
[IMG]http://img86.imageshack.us/img86/1526/schermata37fw.th.png[/IMG]
secondo kdirstat avrei occupato 3 giga circa...
sono fuso io o c'è qualcosa che non và?

anche perchè, prima dell'aggiornamento, df mi data un 40%, quindi più o meno il risultato di kdirstat ora...
Back to top
View user's profile Send private message
Ic3M4n
Advocate
Advocate


Joined: 02 Nov 2004
Posts: 3489
Location: Bergamo.

PostPosted: Mon Jun 12, 2006 2:02 am    Post subject: Reply with quote

hai provato a fare un
Code:
du -sh /*
credo comunque che kdirstat si prenda i dati da du... prova a vedere se coincidono.
Back to top
View user's profile Send private message
Gremo
Guru
Guru


Joined: 27 Feb 2006
Posts: 450

PostPosted: Mon Jun 12, 2006 2:16 am    Post subject: Reply with quote

Ic3M4n wrote:
hai provato a fare un
Code:
du -sh /*
credo comunque che kdirstat si prenda i dati da du... prova a vedere se coincidono.


questo è l'out di fu -sh /*
Code:

7.6M    /bin
2.2M    /boot
252K    /dev
7.1M    /etc
702M    /home
8.2M    /lib
0       /media
13G     /mnt
149M    /opt
898M    /proc
1.9M    /root
7.1M    /sbin
0       /sys
738M    /tmp
2.8G    /usr
4.1G    /var


sembra che sia lo stesso di df...
in ogni caso, è una cosa normale? ma com'è possibile? di chi fidarsi?
Back to top
View user's profile Send private message
bandreabis
Advocate
Advocate


Joined: 18 Feb 2005
Posts: 2490
Location: イタリアのロディで

PostPosted: Mon Jun 12, 2006 6:22 am    Post subject: Reply with quote

[OT]Che tema usi, Gremo?[OT]

Andrea
_________________
Il numero di post non fa di me un esperto! Anzi!
Back to top
View user's profile Send private message
gutter
Bodhisattva
Bodhisattva


Joined: 13 Mar 2004
Posts: 7162
Location: Aarau, Aargau, Switzerland

PostPosted: Mon Jun 12, 2006 6:25 am    Post subject: Reply with quote

bandreabis wrote:
[OT]Che tema usi, Gremo?[OT]

Andrea


Per queste cose credo siano meglio i PM :roll:
_________________
Registered as User #281564 and Machines #163761
Back to top
View user's profile Send private message
masterbrian
Guru
Guru


Joined: 13 Feb 2004
Posts: 461

PostPosted: Mon Jun 12, 2006 8:07 am    Post subject: Reply with quote

Non e' che stai lanciando kdirstat come utente senza privilegi? In questo caso al contrario di df, non sarai in grado di contare lo spazio occupato da tutti i file, ma solo da quelli a cui puoi effettivamente accedere...
_________________
[img:f6b0c3bcba]http://www.danasoft.com/sig/MasterBrian.jpg[/img:f6b0c3bcba]
Back to top
View user's profile Send private message
thewally
l33t
l33t


Joined: 12 May 2005
Posts: 703
Location: Genova

PostPosted: Mon Jun 12, 2006 9:06 am    Post subject: Reply with quote

Utilizzi BitTorrent (in una qualsiasi delle sue reincarnazioni) ?

Bittorrent crea incoerenze tra "du" , "df" e "ls -lh" :wink:
_________________
Proudly Member of GeCHI
Back to top
View user's profile Send private message
Gremo
Guru
Guru


Joined: 27 Feb 2006
Posts: 450

PostPosted: Mon Jun 12, 2006 12:20 pm    Post subject: Reply with quote

masterbrian wrote:
Non e' che stai lanciando kdirstat come utente senza privilegi? In questo caso al contrario di df, non sarai in grado di contare lo spazio occupato da tutti i file, ma solo da quelli a cui puoi effettivamente accedere...


si lo sto lanciando non da root, ma possibile che ci siano 4 gigabyte di file che non posso leggere?mi sembrano un pò troppi...
Back to top
View user's profile Send private message
Gremo
Guru
Guru


Joined: 27 Feb 2006
Posts: 450

PostPosted: Mon Jun 12, 2006 12:21 pm    Post subject: Reply with quote

thewally wrote:
Utilizzi BitTorrent (in una qualsiasi delle sue reincarnazioni) ?

Bittorrent crea incoerenze tra "du" , "df" e "ls -lh" :wink:


Ktorrent.

questo cosa vuol dire?

@bandreabis
le deco d finestra sono plastik, di default, ho cambiato solo le icone (nuvola)
Back to top
View user's profile Send private message
thewally
l33t
l33t


Joined: 12 May 2005
Posts: 703
Location: Genova

PostPosted: Mon Jun 12, 2006 2:30 pm    Post subject: Reply with quote

Gremo wrote:
thewally wrote:
Utilizzi BitTorrent (in una qualsiasi delle sue reincarnazioni) ?

Bittorrent crea incoerenze tra "du" , "df" e "ls -lh" :wink:


Ktorrent.

questo cosa vuol dire?

Ora non mi ricordo bene quale dei due, ma, uno conta come se i file che stai scaricando siano già completi e l'altro conta lo stato effettivo di scaricamento dei file :)
Questo porta a diverse incongruenze :wink:
_________________
Proudly Member of GeCHI
Back to top
View user's profile Send private message
Gremo
Guru
Guru


Joined: 27 Feb 2006
Posts: 450

PostPosted: Mon Jun 12, 2006 2:43 pm    Post subject: Reply with quote

thewally wrote:
Gremo wrote:
thewally wrote:
Utilizzi BitTorrent (in una qualsiasi delle sue reincarnazioni) ?

Bittorrent crea incoerenze tra "du" , "df" e "ls -lh" :wink:


Ktorrent.

questo cosa vuol dire?

Ora non mi ricordo bene quale dei due, ma, uno conta come se i file che stai scaricando siano già completi e l'altro conta lo stato effettivo di scaricamento dei file :)
Questo porta a diverse incongruenze :wink:


lo uso, ma attualmente non ho file in scaricamento...quindi niente :(
Back to top
View user's profile Send private message
eddy89
Apprentice
Apprentice


Joined: 01 Feb 2006
Posts: 180
Location: /world/Italy/Torino

PostPosted: Mon Jun 12, 2006 11:45 pm    Post subject: Reply with quote

Il problema è molto semplice, ed è la sostanziale differenza tra ls -l ed ls -s: l'uno restituisce lo spazio allocato dal file, l'altro quello effettivamente utilizzato..
Non so dirvi esattamente quale dei due, penso che df dia quello allocato, mentre du (e kcoso) quello effettivamente occupato (che di solito è minore)

Ad esempio se io creo un file da 4 gb, lui alloca subito tutti i 4 gb, ma senza riempirli di zeri, riempirà man mano questo file, scrivendo effettivamente sul disco, quando arriveranno questi dati... questo è il caso dei file sharing ad esempio.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) 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