Linux: Debian - File Partition

Untuk mengetahui struktur partisi dapat menggunakan command df atau lsblk:

$df

Filesystem     1K-blocks     Used Available Use% Mounted on
/dev/sdb1        8518920  5253380   2809760  66% /
udev               10240        0     10240   0% /dev
tmpfs             748708     9112    739596   2% /run
tmpfs            1871760   230912   1640848  13% /dev/shm
tmpfs               5120        4      5116   1% /run/lock
tmpfs            1871760        0   1871760   0% /sys/fs/cgroup
/dev/sdb7         368615     2226    342837   1% /tmp
/dev/sdb8      287988080  4849112 268486912   2% /home
/dev/sdb5        2817056   552740   2101500  21% /var
tmpfs             374356       20    374336   1% /run/user/1000

atau
$lsblk

NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda      8:0    0 298.1G  0 disk 
├─sda1   8:1    0   100G  0 part /home/public
├─sda2   8:2    0   100G  0 part /home/data
└─sda3   8:3    0  98.1G  0 part /home/backup
sdb      8:16   0 298.1G  0 disk 
├─sdb1   8:17   0   8.4G  0 part /
├─sdb2   8:18   0     1K  0 part 
├─sdb5   8:21   0   2.8G  0 part /var
├─sdb6   8:22   0   7.4G  0 part [SWAP]
├─sdb7   8:23   0   380M  0 part /tmp
└─sdb8   8:24   0 279.2G  0 part /home



No comments:

Post a Comment