multiple pages: Unify file path syntax to indicate a 'path to' (#4816)
This commit is contained in:
@@ -1,27 +1,28 @@
|
||||
# mdadm
|
||||
|
||||
> RAID management utility.
|
||||
> More information: <https://linux.die.net/man/8/mdadm>.
|
||||
|
||||
- Create array:
|
||||
|
||||
`mdadm --create {{/path/to/raid_device_file}} --level {{raid_level}} --raid-devices {{number_of_disks}} {{/path/to/disk_device_file}}`
|
||||
`mdadm --create {{/dev/md/MyRAID}} --level {{raid_level}} --raid-devices {{number_of_disks}} {{/dev/sdXN}}`
|
||||
|
||||
- Stop array:
|
||||
|
||||
`mdadm -S {{/path/to/raid_device_file}}`
|
||||
`mdadm --stop {{/dev/md0}}`
|
||||
|
||||
- Mark disk as failed:
|
||||
|
||||
`mdadm {{/path/to/raid_device_file}} -f {{/path/to/disk_device_file}}`
|
||||
`mdadm --fail {{/dev/md0}} {{/dev/sdXN}}`
|
||||
|
||||
- Remove disk:
|
||||
|
||||
`mdadm {{/path/to/raid_device_file}} -r {{/path/to/disk_device_file}}`
|
||||
`mdadm --remove {{/dev/md0}} {{/dev/sdXN}}`
|
||||
|
||||
- Add disk to array:
|
||||
|
||||
`mdadm {{/path/to/raid_device_file}} -a {{/path/to/disk_device_file}}`
|
||||
`mdadm --assemble {{/dev/md0}} {{/dev/sdXN}}`
|
||||
|
||||
- Show RAID info:
|
||||
|
||||
`mdadm -D {{/path/to/raid_device_file}}`
|
||||
`mdadm --detail {{/dev/md0}}`
|
||||
|
Reference in New Issue
Block a user