note on adding a drive
This commit is contained in:
parent
61a0adabb4
commit
cc7735ea9e
17
hard_disks.md
Normal file
17
hard_disks.md
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
|
||||||
|
RAID edits
|
||||||
|
* Enter the system setup menu at boot time, then you also have to press additional keys to get to the RAID screen
|
||||||
|
* create a new virtual disk and assign the new disks, then initialize the VD
|
||||||
|
|
||||||
|
Mounting the new VD
|
||||||
|
* find the disk with `fdisk -l | grep '^Disk'`
|
||||||
|
* create a partition table
|
||||||
|
* `fdisk /dev/sdb`
|
||||||
|
* `p` to list partition table if any
|
||||||
|
* `n` to create a new partition
|
||||||
|
* `w` to write the new partition
|
||||||
|
* format the new partition with `mkfs.ext4 /dev/sdb1`
|
||||||
|
* create an access folder, maybe at //mnt/backup
|
||||||
|
* run the mount `mount /dev/sdb1 /mnt/backup`
|
||||||
|
* edit fstab by adding
|
||||||
|
//dev/sda1 /mnt/backup ext4 defaults 1 2
|
Loading…
Reference in New Issue
Block a user