Quick Answer: How Do I Add a New Hard Drive in Linux?
Contents How Do I Add a New Disk to an Existing Linux Server? What I Would Do Is: Make a Good Backup of Your Server. Sudo Su (Or Login as Root). Mount the New...
Contents
How do I add a new disk to an existing Linux server?
What I would do is:
- make a good backup of your server.
- sudo su (or login as root).
- mount the new drive (with the correct fstab entry: UUID=[drive uuid] /home_new ext4 defaults 0 0) to /home_new.
- sync the old home folder to the new home folder: rsync -av /home/ /home_new/.
- rename the old home folder: mv /home /home_old.
29 мар. 2017 г.
Must Read
How do I install a new hard drive in Ubuntu?
Use these steps to partition the drive with a single partition…
- Right-click on the white bar and choose “New.”
- For “New Size” the number should be the maximum allowable, to fill the entire disk.
- Choose “Primary Partition”
- Now decide on a filesystem. …
- Now click Add to compute the partition.
25 янв. 2019 г.