Home > OS >  Linux problem
Linux problem

Time:09-24

How Linux in the machine to add three pieces of 20 g hard drive, using three 5 g partition simulation raid5, belt, small white do cry,

CodePudding user response:

Production of raid5
Grammar: for mdadm [mode] [options] Nent - devices>

- C - create to create the array
- n - raid - devices=specified equipment number followed by device list
- x - spare - devices=specified for disc
- l - level=specify the raid level
- v -- verbose display creation process
Detailed information - D view raid

For example: for mdadm - C/dev/md0 - l - n - 3 x 1/dev/SDC {1.. 4} do raid5 with three partitions and set up a backup partition
Then the/dev/md0 make file system -- -- -- -- -- & gt; mount

CodePudding user response:

reference 1st floor zhouchao6 response:
make raid5
Grammar: for mdadm [mode] [options] Nent - devices>

- C - create to create the array
- n - raid - devices=specified equipment number followed by device list
- x - spare - devices=specified for disc
- l - level=specify the raid level
- v -- verbose display creation process
Detailed information - D view raid

For example: for mdadm - C/dev/md0 - l - n - 3 x 1/dev/SDC {1.. 4} do raid5 with three partitions and set up a backup partition
Then the/dev/md0 make file system -- -- -- -- -- & gt; Mount
thanks brother spicy
  • Related