T
T
Tim32017-09-11 22:36:50
linux
Tim3, 2017-09-11 22:36:50

Mounting RAID1?

Hello everyone,
At the moment there is like this:
sda 8:0 0 74.5G 0 disk
├─sda1 8:1 0 12.9G 0 part /
├─sda2 8:2 0 1K 0 part
├─sda5 8:5 0 4.6G 0 part /var
├─sda6 8:6 0 7.9G 0 part [SWAP]
├─sda7 8:7 0 868M 0 part /tmp
└─sda8 8:8 0 48.3G 0 part /home
sdb 8:16 0 298.1G 0 disk
└─sdb1 8:17 0 298.1G 0 part
└─md0 9:0 0 298G 0 raid1
sdc 8:32 0 298.1G 0 disk
└─sdc1 8:33 0 298.1G 0 part
└─md0 9:0 0 298G 0 raid1
I want to mount on the ride as /home, tell me how to do it? Debian OS.
Thank you.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dmitry, 2017-09-12
@Tim3

Create a file system on the raid and mount it as you need. If you want to transfer /home to a raid, then it is better to read more about this procedure on the Internet, as there may be peculiarities.

R
Radjah, 2018-08-21
@Radjah

> I want to mount on the ride as / home, tell me how to do it?
Set auto-raise of the array in /etc/mdadm/mdadm.conf (mdadm --detail --scan /dev/md/0)
Format and write to /etc/fstab. Better by UUID (blkid)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question