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:

  1. make a good backup of your server.
  2. sudo su (or login as root).
  3. mount the new drive (with the correct fstab entry: UUID=[drive uuid] /home_new ext4 defaults 0 0) to /home_new.
  4. sync the old home folder to the new home folder: rsync -av /home/ /home_new/.
  5. rename the old home folder: mv /home /home_old.

29 мар. 2017 г.

How do I install a new hard drive in Ubuntu?

Use these steps to partition the drive with a single partition…

  1. Right-click on the white bar and choose “New.”
  2. For “New Size” the number should be the maximum allowable, to fill the entire disk.
  3. Choose “Primary Partition”
  4. Now decide on a filesystem. …
  5. Now click Add to compute the partition.

25 янв. 2019 г.

David Miller

David Miller

Executive Financial & Market Analyst

David Miller brings 15 years of experience in global economics, personal finance strategy, and market dynamics. He specializes in turning complex economic trends into actionable insights for everyday readers.

Share this article
Twitter Facebook Pinterest