Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Voici les volumes que me retournent zfs :
- root:~ # zfs list -rt all -o space,written
- NAME AVAIL USED USEDSNAP USEDDS USEDREFRESERV USEDCHILD WRITTEN
- zroot 1.33T 435G 0 411G 0 24.4G 411G
- zroot/tmp 1.33T 223M 0 223M 0 0 223M
- zroot/usr 1.33T 24.2G 0 96K 0 24.2G 96K
- zroot/usr/home 1.33T 24.2G 0 96K 0 24.2G 96K
- zroot/usr/obj 1.33T 96K 0 96K 0 0 96K
- zroot/usr/ports 1.33T 288K 0 96K 0 192K 96K
- zroot/usr/ports/distfiles 1.33T 96K 0 96K 0 0 96K
- zroot/usr/ports/packages 1.33T 96K 0 96K 0 0 96K
- zroot/usr/src 1.33T 96K 0 96K 0 0 96K
- zroot/var 1.33T 384K 0 96K 0 288K 96K
- zroot/var/crash 1.33T 96K 0 96K 0 0 96K
- zroot/var/empty 1.33T 96K 0 96K 0 0 96K
- zroot/var/tmp 1.33T 96K 0 96K 0 0 96K
- Voici les volumes que me retournent du :
- root:~ # du -h -d1 /
- 3.0K /dev
- 485M /boot
- 145M /var
- 512B /mnt
- 223M /tmp
- 148M /fileinstall
- 0B /proc
- 53K /root
- 10M /lib
- 512B /media
- 152K /libexec
- 24G /usr
- 1.4M /bin
- 2.9M /etc
- 6.3M /sbin
- 7.8M /rescue
- 25G /
- Voici l'inode de 409G que j'ai trouvé avec la commande zdb :
- root:~ # zdb -dd zroot | grep "ZFS plain file" | grep "G" | more
- 26811 5 16K 128K 409G 409G 100.00 ZFS plain file
- Voici le contenu de l'inode, on peut remarquer que son chemin est en erreur :
- Object lvl iblk dblk dsize lsize %full type
- 26811 5 16K 128K 409G 409G 100.00 ZFS plain file
- 168 bonus System attributes
- dnode flags: USED_BYTES USERUSED_ACCOUNTED
- dnode maxblkid: 3350527
- path ???<object#26811>
- uid 25
- gid 25
- atime Mon Feb 29 19:18:56 2016
- mtime Mon Feb 29 13:50:29 2016
- ctime Mon Feb 29 13:50:29 2016
- crtime Mon Feb 29 10:00:08 2016
- gen 223896
- mode 100660
- size 482104740442
- parent 12614
- links 0
- pflags 40800000004
- Voici le contenu de l'inode parent :
- Object lvl iblk dblk dsize lsize %full type
- 12614 1 16K 1K 0 1K 100.00 ZFS directory
- 168 bonus System attributes
- dnode flags: USED_BYTES USERUSED_ACCOUNTED
- dnode maxblkid: 0
- path /var/spool/clientmqueue
- uid 25
- gid 25
- atime Mon Feb 8 17:57:35 2016
- mtime Wed Mar 2 03:01:55 2016
- ctime Wed Mar 2 03:01:55 2016
- crtime Mon Feb 8 17:57:46 2016
- gen 52
- mode 40770
- size 4
- parent 12592
- links 2
- pflags 40800000044
- microzap: 1024 bytes, 2 entries
- sm-client.pid = 24951 (type: Regular File)
- dfu1T9067p014358 = 26813 (type: Regular File)
- Et son listage :
- root:/tmp # ll -h /var/spool/clientmqueue/
- total 653
- -rw-rw---- 1 smmsp smmsp 604K Jan 1 1970 dfu1T9067p014358
- -rw------- 1 smmsp smmsp 49B Mar 1 17:46 sm-client.pid
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement