2017年04月07日
Tweet
以前はとてもシンプルなパーティション構成だったのですが、最近ではいろいろと複雑になっているようです。
QNAPの基本構造について
上記参考サイトがとても素晴らしくまとまっていました。
※Diskは古いものをテストで入れています。
# df
Filesystem Size Used Available Use% Mounted on
none 330.0M 171.4M 158.6M 52% /
devtmpfs 494.1M 8.0k 494.1M 0% /dev
tmpfs 64.0M 332.0k 63.7M 1% /tmp
tmpfs 500.8M 24.0k 500.8M 0% /dev/shm
tmpfs 16.0M 0 16.0M 0% /share
/dev/md9 515.5M 117.4M 398.1M 23% /mnt/HDA_ROOT
/dev/mapper/cachedev1 135.9G 32.0G 103.3G 24% /share/CACHEDEV1_DATA
/dev/md13 371.0M 223.7M 147.3M 60% /mnt/ext
tmpfs 1.0M 0 1.0M 0% /mnt/rf/nd
tmpfs 16.0M 60.0k 15.9M 0% /share/CACHEDEV1_DATA/.samba/lock/msg.lock
tmpfs 16.0M 0 16.0M 0% /mnt/ext/opt/samba/private/msg.sock
# parted -l
Model: WDC WD1600AAJS-19M0A (scsi)
Disk /dev/sda: 160GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 20.5kB 543MB 543MB ext3 primary
2 543MB 1086MB 543MB linux-swap(v1) primary
3 1086MB 151GB 150GB primary
4 151GB 151GB 543MB ext3 primary
5 151GB 160GB 8554MB linux-swap(v1) primary
Model: SAMSUNG HD160JJ (scsi)
Disk /dev/sdb: 160GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 20.5kB 543MB 543MB ext3 primary
2 543MB 1086MB 543MB linux-swap(v1) primary
3 1086MB 151GB 150GB primary
4 151GB 151GB 543MB ext3 primary
5 151GB 160GB 8554MB primary
Model: Linux device-mapper (flashcache) (dm)
Disk /dev/mapper/cachedev1: 148GB
Sector size (logical/physical): 512B/512B
Partition Table: loop
Disk Flags:
Number Start End Size File system Flags
1 0.00B 148GB 148GB ext4
Model: Linux device-mapper (linear) (dm)
Disk /dev/mapper/vg288-lv1: 148GB
Sector size (logical/physical): 512B/512B
Partition Table: loop
Disk Flags:
Number Start End Size File system Flags
1 0.00B 148GB 148GB ext4
後半略
# pvdisplay
--- Physical volume ---
PV Name /dev/md1
VG Name vg288
PV Size 139.56 GiB / not usable 2.25 MiB
Allocatable yes (but full)
PE Size 4.00 MiB
Total PE 35726
Free PE 0
Allocated PE 35726
PV UUID UehFAd-9sKn-8zM8-YqCI-Y1Aa-NLOp-339q1Z
QNAPの基本構造について
上記参考サイトがとても素晴らしくまとまっていました。
※Diskは古いものをテストで入れています。
# df
Filesystem Size Used Available Use% Mounted on
none 330.0M 171.4M 158.6M 52% /
devtmpfs 494.1M 8.0k 494.1M 0% /dev
tmpfs 64.0M 332.0k 63.7M 1% /tmp
tmpfs 500.8M 24.0k 500.8M 0% /dev/shm
tmpfs 16.0M 0 16.0M 0% /share
/dev/md9 515.5M 117.4M 398.1M 23% /mnt/HDA_ROOT
/dev/mapper/cachedev1 135.9G 32.0G 103.3G 24% /share/CACHEDEV1_DATA
/dev/md13 371.0M 223.7M 147.3M 60% /mnt/ext
tmpfs 1.0M 0 1.0M 0% /mnt/rf/nd
tmpfs 16.0M 60.0k 15.9M 0% /share/CACHEDEV1_DATA/.samba/lock/msg.lock
tmpfs 16.0M 0 16.0M 0% /mnt/ext/opt/samba/private/msg.sock
# parted -l
Model: WDC WD1600AAJS-19M0A (scsi)
Disk /dev/sda: 160GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 20.5kB 543MB 543MB ext3 primary
2 543MB 1086MB 543MB linux-swap(v1) primary
3 1086MB 151GB 150GB primary
4 151GB 151GB 543MB ext3 primary
5 151GB 160GB 8554MB linux-swap(v1) primary
Model: SAMSUNG HD160JJ (scsi)
Disk /dev/sdb: 160GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 20.5kB 543MB 543MB ext3 primary
2 543MB 1086MB 543MB linux-swap(v1) primary
3 1086MB 151GB 150GB primary
4 151GB 151GB 543MB ext3 primary
5 151GB 160GB 8554MB primary
Model: Linux device-mapper (flashcache) (dm)
Disk /dev/mapper/cachedev1: 148GB
Sector size (logical/physical): 512B/512B
Partition Table: loop
Disk Flags:
Number Start End Size File system Flags
1 0.00B 148GB 148GB ext4
Model: Linux device-mapper (linear) (dm)
Disk /dev/mapper/vg288-lv1: 148GB
Sector size (logical/physical): 512B/512B
Partition Table: loop
Disk Flags:
Number Start End Size File system Flags
1 0.00B 148GB 148GB ext4
後半略
# pvdisplay
--- Physical volume ---
PV Name /dev/md1
VG Name vg288
PV Size 139.56 GiB / not usable 2.25 MiB
Allocatable yes (but full)
PE Size 4.00 MiB
Total PE 35726
Free PE 0
Allocated PE 35726
PV UUID UehFAd-9sKn-8zM8-YqCI-Y1Aa-NLOp-339q1Z