구형 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
매핑됩니다. 즉, 여러 파티션(물리적으로 분리된 하드 드라이브도 포함)이 하나 이상의 가상 파티션으로 결합됩니다.
내 생각에는 당신 이 와 를 어떻게, 어디에 sd[b-e,g-h]
사용 하고 있는지 알아낼 수 있어야 한다고 생각합니다 . 아마도 더 좋을 것입니다.lsblk
dmsetup deps -o /dev/mapper/<device-name>
dmsetup ls --tree