古いHPCを継承しており、より多くのストレージスペースが必要です。しかし、私はここでは深すぎる。まず、私はまず私が持っているものを理解しようとします。しかし、私はparted
Here's partedと比較して出力を理解していません。df
parted -l
Model: DELL PERC H710 (scsi)
Disk /dev/sda: 146GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 1049kB 525MB 524MB primary ext4 boot
2 525MB 146GB 146GB primary lvm
Model: DELL PERC H710 (scsi)
Disk /dev/sdb: 1979GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 1049kB 1979GB 1979GB primary raid
Model: DELL PERC H710 (scsi)
Disk /dev/sdc: 1979GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 1049kB 1979GB 1979GB primary raid
Model: DELL PERC H710 (scsi)
Disk /dev/sdd: 1979GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 1049kB 1979GB 1979GB primary raid
Model: DELL PERC H710 (scsi)
Disk /dev/sde: 60.6GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 1049kB 525MB 524MB primary ext4 boot
2 525MB 60.6GB 60.0GB primary ext4
Model: DELL PERC H710 (scsi)
Disk /dev/sdf: 10.8TB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 1049kB 10.8TB 10.8TB ext4
Model: Linux device-mapper (linear) (dm)
Disk /dev/mapper/vg_data-data: 3518GB
Sector size (logical/physical): 512B/512B
Partition Table: loop
Disk Flags:
Number Start End Size File system Flags
1 0.00B 3518GB 3518GB ext4
Model: Linux device-mapper (linear) (dm)
Disk /dev/mapper/vg_data-home: 2199GB
Sector size (logical/physical): 512B/512B
Partition Table: loop
Disk Flags:
Number Start End Size File system Flags
1 0.00B 2199GB 2199GB ext4
Model: Linux device-mapper (linear) (dm)
Disk /dev/mapper/vg_geneiousserver-lv_root: 141GB
Sector size (logical/physical): 512B/512B
Partition Table: loop
Disk Flags:
Number Start End Size File system Flags
1 0.00B 141GB 141GB ext4
Model: Linux device-mapper (linear) (dm)
Disk /dev/mapper/vg_geneiousserver-lv_swap: 4295MB
Sector size (logical/physical): 512B/512B
Partition Table: loop
Disk Flags:
Number Start End Size File system Flags
1 0.00B 4295MB 4295MB linux-swap(v1)
Model: Seagate Expansion Desk (scsi)
Disk /dev/sdg: 4001GB
Sector size (logical/physical): 4096B/4096B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 1049kB 4001GB 4001GB primary
Model: Seagate Expansion Desk (scsi)
Disk /dev/sdh: 4001GB
Sector size (logical/physical): 4096B/4096B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 1049kB 4001GB 4001GB primary
dfは次のようになります。
df -h
Filesystem Size Used Avail Use% Mounted on
devtmpfs 252G 0 252G 0% /dev
tmpfs 252G 0 252G 0% /dev/shm
tmpfs 252G 43M 252G 1% /run
tmpfs 252G 0 252G 0% /sys/fs/cgroup
/dev/mapper/vg_geneiousserver-lv_root 129G 15G 109G 12% /
/dev/sdf1 9.8T 8.5T 836G 92% /home
/dev/sda1 477M 332M 117M 75% /boot
/dev/mapper/vg_data-data 3.2T 3.0T 240K 100% /home2
/dev/mapper/vg_data-home 2.0T 376G 1.6T 20% /var
tmpfs 51G 12K 51G 1% /run/user/42
tmpfs 51G 0 51G 0% /run/user/1006
tmpfs 51G 0 51G 0% /run/user/1028
tmpfs 51G 0 51G 0% /run/user/1044
答え1
基本デバイスが/dev/mapper
マッピングされます。つまり、複数のパーティション(物理的に分離されたハードドライブも含む)が1つ以上の仮想パーティションに結合されます。
私の考えでは、あなたがどのように、どこで使用しているのかをsd[b-e,g-h]
把握できる必要があると思います。おそらくより良いでしょう。lsblk
dmsetup deps -o /dev/mapper/<device-name>
dmsetup ls --tree