Здравствуйте! Есть физический сервер с Debian, на котором установлено 2 SAS диска по 146 гб. Как сделать, чтобы объем этих двух дисков использовался под home? Заранее благодарен!
# df -h
Filesystem Size Used Avail Use% Mounted on
udev 3.9G 0 3.9G 0% /dev
tmpfs 796M 712K 795M 1% /run
/dev/md0 28G 4.4G 22G 17% /
tmpfs 3.9G 0 3.9G 0% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
/dev/md1 103G 98G 0 100% /home
tmpfs 796M 0 796M 0% /run/user/0
tmpfs 796M 0 796M 0% /run/user/1000
# /usr/sbin/fdisk -l
Disk /dev/sdb: 136.73 GiB, 146815737856 bytes, 286749488 sectors
Disk model: DF0146B8052
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x3d54be84
Device Boot Start End Sectors Size Id Type
/dev/sdb1 58595326 286748671 228153346 108.8G 5 Extended
/dev/sdb2 2048 58593279 58591232 27.9G fd Linux raid autodetect
/dev/sdb5 278937600 286748671 7811072 3.7G 82 Linux swap / Solaris
/dev/sdb6 58595328 278937599 220342272 105.1G fd Linux raid autodetect
Partition table entries are not in disk order.
Disk /dev/sda: 136.73 GiB, 146815737856 bytes, 286749488 sectors
Disk model: DF0146B8052
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x2d8b6b12
Device Boot Start End Sectors Size Id Type
/dev/sda1 58595326 286748671 228153346 108.8G 5 Extended
/dev/sda2 * 2048 58593279 58591232 27.9G fd Linux raid autodetect
/dev/sda5 278937600 286748671 7811072 3.7G 82 Linux swap / Solaris
/dev/sda6 58595328 278937599 220342272 105.1G fd Linux raid autodetect
Partition table entries are not in disk order.
Disk /dev/md1: 105 GiB, 112747085824 bytes, 220209152 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/md0: 27.92 GiB, 29980884992 bytes, 58556416 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 136.7G 0 disk
├─sda1 8:1 0 1K 0 part
├─sda2 8:2 0 27.9G 0 part
│ └─md0 9:0 0 27.9G 0 raid1 /
├─sda5 8:5 0 3.7G 0 part [SWAP]
└─sda6 8:6 0 105.1G 0 part
└─md1 9:1 0 105G 0 raid1 /home
sdb 8:16 0 136.7G 0 disk
├─sdb1 8:17 0 1K 0 part
├─sdb2 8:18 0 27.9G 0 part
│ └─md0 9:0 0 27.9G 0 raid1 /
├─sdb5 8:21 0 3.7G 0 part [SWAP]
└─sdb6 8:22 0 105.1G 0 part
└─md1 9:1 0 105G 0 raid1 /home