<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comments on: How to Add a New Disk to an Existing Linux Server	</title>
	<atom:link href="https://www.tecmint.com/add-new-disk-to-an-existing-linux/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.tecmint.com/add-new-disk-to-an-existing-linux/</link>
	<description>Tecmint - Linux Howtos, Tutorials, Guides, News, Tips and Tricks.</description>
	<lastBuildDate>Thu, 13 Jul 2023 19:19:44 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>
		By: Jordan Merson		</title>
		<link>https://www.tecmint.com/add-new-disk-to-an-existing-linux/comment-page-1/#comment-1427840</link>

		<dc:creator><![CDATA[Jordan Merson]]></dc:creator>
		<pubDate>Wed, 03 Feb 2021 21:28:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.tecmint.com/?p=25235#comment-1427840</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.tecmint.com/add-new-disk-to-an-existing-linux/comment-page-1/#comment-1345897&quot;&gt;Dima&lt;/a&gt;.

It will not merge the old &lt;strong&gt;/home&lt;/strong&gt; folder, instead, it will replace it. 

What I would do is:
&lt;ol&gt;
&lt;li&gt;make a good backup of your server.&lt;/li&gt;
&lt;li&gt;sudo su (or login as root).&lt;/li&gt;
&lt;li&gt;mount the new drive (with the correct fstab entry: &lt;strong&gt;UUID=[drive uuid]	/home_new	 ext4	defaults	0 0) to /home&lt;/strong&gt;_new.&lt;/li&gt;
&lt;li&gt;sync the old home folder to the new home folder: &lt;strong&gt;rsync -av /home/ /home_new/&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;rename the old home folder: &lt;strong&gt;mv /home /home_old&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;change the fstab entry to mount the new drive to&lt;strong&gt; /home ( UUID=[drive uuid]	/home	 ext4	defaults	0 0)&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Reboot your server. Now your new drive is mounted at &lt;strong&gt;/home&lt;/strong&gt; with all of the original home contents, and your old home folder is accessible at &lt;strong&gt;/home_old&lt;/strong&gt;.&lt;/li&gt;
&lt;/ol&gt;
Once you are comfortable, delete the old home folder.

If you run into problems, login as root, &lt;strong&gt;unmount /home&lt;/strong&gt;, comment out or remove the fstab entry for the new drive, rename &lt;strong&gt;/home_old&lt;/strong&gt; to &lt;strong&gt;/home&lt;/strong&gt; and reboot.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a target="_blank" href="https://www.tecmint.com/add-new-disk-to-an-existing-linux/comment-page-1/#comment-1345897">Dima</a>.</p>
<p>It will not merge the old <strong>/home</strong> folder, instead, it will replace it. </p>
<p>What I would do is:</p>
<ol>
<li>make a good backup of your server.</li>
<li>sudo su (or login as root).</li>
<li>mount the new drive (with the correct fstab entry: <strong>UUID=[drive uuid]	/home_new	 ext4	defaults	0 0) to /home</strong>_new.</li>
<li>sync the old home folder to the new home folder: <strong>rsync -av /home/ /home_new/</strong>.</li>
<li>rename the old home folder: <strong>mv /home /home_old</strong>.</li>
<li>change the fstab entry to mount the new drive to<strong> /home ( UUID=[drive uuid]	/home	 ext4	defaults	0 0)</strong>.</li>
<li>Reboot your server. Now your new drive is mounted at <strong>/home</strong> with all of the original home contents, and your old home folder is accessible at <strong>/home_old</strong>.</li>
</ol>
<p>Once you are comfortable, delete the old home folder.</p>
<p>If you run into problems, login as root, <strong>unmount /home</strong>, comment out or remove the fstab entry for the new drive, rename <strong>/home_old</strong> to <strong>/home</strong> and reboot.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: frank cele		</title>
		<link>https://www.tecmint.com/add-new-disk-to-an-existing-linux/comment-page-1/#comment-1354722</link>

		<dc:creator><![CDATA[frank cele]]></dc:creator>
		<pubDate>Wed, 19 Aug 2020 18:33:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.tecmint.com/?p=25235#comment-1354722</guid>

					<description><![CDATA[I will suggest using &lt;strong&gt;UUID&lt;/strong&gt; to mount devices. This gives some hardware independence, especially when working on a cloud where you can add and move devices as needed.
&lt;pre&gt;
lsblk -o name,uuid
&lt;/pre&gt;
Use the uuid corresponding to the device and drive name of your convenience.
&lt;pre&gt;
edit /etc/fstab
UUID=&quot;d52669e4-b4ed-4623-b69c-b27ea80f740e&quot;     /drive3    ext4    rw,user,exec 0 2
&lt;/pre&gt;]]></description>
			<content:encoded><![CDATA[<p>I will suggest using <strong>UUID</strong> to mount devices. This gives some hardware independence, especially when working on a cloud where you can add and move devices as needed.</p>
<pre>
lsblk -o name,uuid
</pre>
<p>Use the uuid corresponding to the device and drive name of your convenience.</p>
<pre>
edit /etc/fstab
UUID="d52669e4-b4ed-4623-b69c-b27ea80f740e"     /drive3    ext4    rw,user,exec 0 2
</pre>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Dima		</title>
		<link>https://www.tecmint.com/add-new-disk-to-an-existing-linux/comment-page-1/#comment-1345897</link>

		<dc:creator><![CDATA[Dima]]></dc:creator>
		<pubDate>Mon, 20 Jul 2020 15:22:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.tecmint.com/?p=25235#comment-1345897</guid>

					<description><![CDATA[If I create a &lt;code&gt;/home&lt;/code&gt; folder on the second drive, will it merge with the &lt;code&gt;/home&lt;/code&gt; folder on the first drive?  Can not be afraid of data loss of the first disk?]]></description>
			<content:encoded><![CDATA[<p>If I create a <code>/home</code> folder on the second drive, will it merge with the <code>/home</code> folder on the first drive?  Can not be afraid of data loss of the first disk?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: muhammad tayyab		</title>
		<link>https://www.tecmint.com/add-new-disk-to-an-existing-linux/comment-page-1/#comment-1332158</link>

		<dc:creator><![CDATA[muhammad tayyab]]></dc:creator>
		<pubDate>Thu, 07 May 2020 08:08:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.tecmint.com/?p=25235#comment-1332158</guid>

					<description><![CDATA[Hi there,

I have a problem using Ubuntu. I have installed two hard drives one 128GB SSD and the other is 500 HD. On by default, I set 128 as a boot like using window and ubuntu at a time.

I have a problem there is when I open window in dual boot mode all partition work normal and good but when I open ubuntu my 500 Gb disk cannot show on ubuntu platform what I happen.

my all data exist on 500gb hard and I cannot see in ubuntu please guide some tricks]]></description>
			<content:encoded><![CDATA[<p>Hi there,</p>
<p>I have a problem using Ubuntu. I have installed two hard drives one 128GB SSD and the other is 500 HD. On by default, I set 128 as a boot like using window and ubuntu at a time.</p>
<p>I have a problem there is when I open window in dual boot mode all partition work normal and good but when I open ubuntu my 500 Gb disk cannot show on ubuntu platform what I happen.</p>
<p>my all data exist on 500gb hard and I cannot see in ubuntu please guide some tricks</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Ravi Saive		</title>
		<link>https://www.tecmint.com/add-new-disk-to-an-existing-linux/comment-page-1/#comment-1097923</link>

		<dc:creator><![CDATA[Ravi Saive]]></dc:creator>
		<pubDate>Tue, 29 Jan 2019 06:38:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.tecmint.com/?p=25235#comment-1097923</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.tecmint.com/add-new-disk-to-an-existing-linux/comment-page-1/#comment-1097802&quot;&gt;Bhargavi&lt;/a&gt;.

@Bhargavi,

I think you can do it by using any graphical disk management utility like Gparted or any other, that you need to find out..]]></description>
			<content:encoded><![CDATA[<p>In reply to <a target="_blank" href="https://www.tecmint.com/add-new-disk-to-an-existing-linux/comment-page-1/#comment-1097802">Bhargavi</a>.</p>
<p>@Bhargavi,</p>
<p>I think you can do it by using any graphical disk management utility like Gparted or any other, that you need to find out..</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
