<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic how to create the softlink two mount points in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/how-to-create-the-softlink-two-mount-points/m-p/5958599#M54110</link>
    <description>&lt;P&gt;example&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Filesystem&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1K-blocks&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Used Available Use% Mounted on&lt;BR /&gt;/dev/sda5&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 19840892&amp;nbsp;&amp;nbsp; 2189396&amp;nbsp; 16627356&amp;nbsp; 12% /&lt;BR /&gt;/dev/sda6&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 980308&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 17652&amp;nbsp;&amp;nbsp;&amp;nbsp; 912056&amp;nbsp;&amp;nbsp; 2% /swap&lt;BR /&gt;/dev/sda1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 101086&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 11342&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 84525&amp;nbsp; 12% /boot&lt;BR /&gt;tmpfs&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 253588&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp; 253588&amp;nbsp;&amp;nbsp; 0% /dev/shm&lt;BR /&gt;/dev/sda3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 19840924&amp;nbsp;&amp;nbsp;&amp;nbsp; 176220&amp;nbsp; 18640564&amp;nbsp;&amp;nbsp; 1% /data2&lt;BR /&gt;/dev/sda2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 19840924&amp;nbsp;&amp;nbsp;&amp;nbsp; 176204&amp;nbsp; 18640580&amp;nbsp;&amp;nbsp; 1% /scratch&lt;BR /&gt;[root@testlinux ~]#&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i want to create the softlink betweeb /stage directory to /scratch mount point&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Requirment&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;when user upload the data in /stage directory that time data it will reflect to /scratch mount point.how to create the soft link.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 08 Feb 2013 10:27:58 GMT</pubDate>
    <dc:creator>rajesh73</dc:creator>
    <dc:date>2013-02-08T10:27:58Z</dc:date>
    <item>
      <title>how to create the softlink two mount points</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-create-the-softlink-two-mount-points/m-p/5958599#M54110</link>
      <description>&lt;P&gt;example&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Filesystem&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1K-blocks&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Used Available Use% Mounted on&lt;BR /&gt;/dev/sda5&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 19840892&amp;nbsp;&amp;nbsp; 2189396&amp;nbsp; 16627356&amp;nbsp; 12% /&lt;BR /&gt;/dev/sda6&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 980308&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 17652&amp;nbsp;&amp;nbsp;&amp;nbsp; 912056&amp;nbsp;&amp;nbsp; 2% /swap&lt;BR /&gt;/dev/sda1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 101086&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 11342&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 84525&amp;nbsp; 12% /boot&lt;BR /&gt;tmpfs&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 253588&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp; 253588&amp;nbsp;&amp;nbsp; 0% /dev/shm&lt;BR /&gt;/dev/sda3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 19840924&amp;nbsp;&amp;nbsp;&amp;nbsp; 176220&amp;nbsp; 18640564&amp;nbsp;&amp;nbsp; 1% /data2&lt;BR /&gt;/dev/sda2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 19840924&amp;nbsp;&amp;nbsp;&amp;nbsp; 176204&amp;nbsp; 18640580&amp;nbsp;&amp;nbsp; 1% /scratch&lt;BR /&gt;[root@testlinux ~]#&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i want to create the softlink betweeb /stage directory to /scratch mount point&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Requirment&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;when user upload the data in /stage directory that time data it will reflect to /scratch mount point.how to create the soft link.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Feb 2013 10:27:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-create-the-softlink-two-mount-points/m-p/5958599#M54110</guid>
      <dc:creator>rajesh73</dc:creator>
      <dc:date>2013-02-08T10:27:58Z</dc:date>
    </item>
    <item>
      <title>Re: how to create the softlink two mount points</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-create-the-softlink-two-mount-points/m-p/5958603#M54111</link>
      <description>one small input one folder in mount point another one is root directory</description>
      <pubDate>Fri, 08 Feb 2013 10:40:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-create-the-softlink-two-mount-points/m-p/5958603#M54111</guid>
      <dc:creator>rajesh73</dc:creator>
      <dc:date>2013-02-08T10:40:47Z</dc:date>
    </item>
    <item>
      <title>Re: how to create the softlink two mount points</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-create-the-softlink-two-mount-points/m-p/5958619#M54112</link>
      <description>&lt;P&gt;one more input in my production server /stage and /scratch&amp;nbsp; different vg.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Feb 2013 11:06:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-create-the-softlink-two-mount-points/m-p/5958619#M54112</guid>
      <dc:creator>rajesh73</dc:creator>
      <dc:date>2013-02-08T11:06:25Z</dc:date>
    </item>
    <item>
      <title>Re: how to create the softlink two mount points</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-create-the-softlink-two-mount-points/m-p/5958821#M54117</link>
      <description>&lt;P&gt;If the uploaded filename is not known in advance, you must softlink the entire directory. To do that, you must move away (or unmount if necessary) the current /stage directory. With soft links, it does not matter if the link and target are in different filesystems or VGs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;# umount /stage #(if necessary)
# mv /stage /stage.old
# ln -s /scratch /stage&lt;/PRE&gt;</description>
      <pubDate>Fri, 08 Feb 2013 15:58:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-create-the-softlink-two-mount-points/m-p/5958821#M54117</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2013-02-08T15:58:08Z</dc:date>
    </item>
    <item>
      <title>Re: how to create the softlink two mount points</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-create-the-softlink-two-mount-points/m-p/5958857#M54118</link>
      <description>&lt;P&gt;Hi Matti,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thnaks for your reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;#mv /stage /stage.oldf -what is the requirment of this command&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;#ln -s /scratch /stage - this will create the link file under the /stage or /scratch&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;one more doubt,&lt;/P&gt;&lt;P&gt;if i change any mount point name in fstab entry ,the same need to update /etc/mtab this is required or automatically update happen&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Feb 2013 16:50:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-create-the-softlink-two-mount-points/m-p/5958857#M54118</guid>
      <dc:creator>rajesh73</dc:creator>
      <dc:date>2013-02-08T16:50:44Z</dc:date>
    </item>
    <item>
      <title>Re: how to create the softlink two mount points</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-create-the-softlink-two-mount-points/m-p/5959195#M54123</link>
      <description>&lt;P&gt;&amp;gt; #mv /stage /stage.oldf -what is the requirment of this command&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You cannot have two things with the same name in the same directory, i.e. if there is a directory/mountpoint named /stage, there cannot be a softlink named /stage, and vice versa.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Filesystems can only be mounted on top of directories, so if /stage was a mountpoint, there will be a directory named /stage left after the "umount /stage" command. Before creating the softlink, this directory needs to be moved away or deleted.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you run the "ln -s /scratch /stage" command while /stage already exists, one of two things happens:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;if /stage is a file, you'll get an error, telling you that /stage already exists.&lt;/LI&gt;&lt;LI&gt;if /stage is a directory, the ln command assumes you meant "link /scratch into directory /stage using its original name", and so you'll get your softlink as /stage/scratch, which is not what you wanted.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;The "ln" command works much like "cp", but without actually copying the data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;gt; if i change any mount point name in fstab entry ,the same need to update /etc/mtab&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;No, you should not normally edit /etc/mtab at all.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/etc/mtab is updated by the mount/umount commands: its purpose is to describe what is currently mounted.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In Linux, /proc/mounts offers much the same thing and it can even be used as a replacement of /etc/mtab, but in some situations the mount command stores some extra data in /etc/mtab which is not available through /proc/mounts (mainly when you're using the "user" mount option to allow non-root users to mount/unmount things).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The only times you might want to edit or replace /etc/mtab are:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;when you've accidentally overwritten the current /etc/mtab, e.g. by restoring an old full backup of /etc that had a different configuration of mountpoints than what the system currently has, or&lt;/LI&gt;&lt;LI&gt;when you have manually mounted/unmounted other filesystems while the root filesystem has been in read-only mode, so the mount/umount commands failed to update /etc/mtab accordingly (e.g. because of a disk failure affecting the root filesystem), or&lt;/LI&gt;&lt;LI&gt;you are preparing to shut down the system that has a mounted filesystem that you know cannot be unmounted cleanly (e.g. because it is on a disk that has failed in a bad way, or on a NFS server that has been permanently shut down) and you want the system to just ignore the problem and shut down as quickly as possible.&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Sat, 09 Feb 2013 09:30:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-create-the-softlink-two-mount-points/m-p/5959195#M54123</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2013-02-09T09:30:55Z</dc:date>
    </item>
  </channel>
</rss>

