<?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 Re: Mount the new HD in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/mount-the-new-hd/m-p/3576744#M18528</link>
    <description>why are you back to using 'sdb'?  I thought you said it was an IDE at 'hdb' ?!</description>
    <pubDate>Sat, 23 Jul 2005 03:39:20 GMT</pubDate>
    <dc:creator>Stuart Browne</dc:creator>
    <dc:date>2005-07-23T03:39:20Z</dc:date>
    <item>
      <title>Mount the new HD</title>
      <link>https://community.hpe.com/t5/operating-system-linux/mount-the-new-hd/m-p/3576736#M18520</link>
      <description>I hv just plug one new HD to the RH server , but when I run "df" , it is no difference (can't see the new HD is present ), could suggest how can I mount the new HD to the system ? thx</description>
      <pubDate>Wed, 06 Jul 2005 00:45:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/mount-the-new-hd/m-p/3576736#M18520</guid>
      <dc:creator>hangyu</dc:creator>
      <dc:date>2005-07-06T00:45:15Z</dc:date>
    </item>
    <item>
      <title>Re: Mount the new HD</title>
      <link>https://community.hpe.com/t5/operating-system-linux/mount-the-new-hd/m-p/3576737#M18521</link>
      <description>Ok, this depends on what type of HDD it is, and what sort of controller it's plugged in to.&lt;BR /&gt;&lt;BR /&gt;If it's an IDE disk into a normal IDE controller, you should be able to access a new '/dev/hd?' device.  If you run the following command, you should be able to figure out which device:&lt;BR /&gt;&lt;BR /&gt;dmesg | grep ^hd &lt;BR /&gt;&lt;BR /&gt;You should see something like this:&lt;BR /&gt;&lt;BR /&gt;hda: Maxtor 6Y120P0, ATA DISK drive&lt;BR /&gt;hdc: Lite-On LTN483S 48x Max, ATAPI CD/DVD-ROM drive&lt;BR /&gt;hda: attached ide-disk driver.&lt;BR /&gt;hda: host protected area =&amp;gt; 1&lt;BR /&gt;hda: 240121728 sectors (122942 MB) w/7936KiB Cache, CHS=14946/255/63, UDMA(66)&lt;BR /&gt;&lt;BR /&gt;In this case, 'hda' is my HDD, and 'hdc' is my CDRom drive.&lt;BR /&gt;&lt;BR /&gt;You'll have another entry (i.e. 'hdb') for your other HDD.  We'll use 'hdb' for the rest of this discussion.&lt;BR /&gt;&lt;BR /&gt;If the drive is working properly, you should now be able to partition your disk.  Use an 'fdisk' tool to do so, i.e.&lt;BR /&gt;&lt;BR /&gt;fdisk /dev/hdb&lt;BR /&gt;&lt;BR /&gt;as a super-user (root).  Create new partitions (of type 83 for standard Linux stuff), broken up how you want them to, or just as one big partition.&lt;BR /&gt;&lt;BR /&gt;From there, create a filesystem on it using the appropraite tool, i.e.&lt;BR /&gt;&lt;BR /&gt;mke2fs -j -c -v /dev/hdb1&lt;BR /&gt;&lt;BR /&gt;to format the 1st partition of the 2nd HDD as filesystem type 'ext3', doing a bad-block check.&lt;BR /&gt;&lt;BR /&gt;Once complete, you should be able to mount it to the desired location:&lt;BR /&gt;&lt;BR /&gt;mount /dev/hdb1 /new/path&lt;BR /&gt;&lt;BR /&gt;If it's a SCSI disk, once again you look in the output of 'dmesg', but slightly differently:&lt;BR /&gt;&lt;BR /&gt;dmesg | grep ^sd&lt;BR /&gt;&lt;BR /&gt;Similar output will be shown, and from there, the same commands (with the appropriate '/dev/sd?' device name) will work just fine.&lt;BR /&gt;&lt;BR /&gt;If it's an additional disk into a RAID array, then it starts getting tricky, as the procedures required to expand an array differ from controller to controller.&lt;BR /&gt;&lt;BR /&gt;If you need more details on how to do things, don't hesitate to post back, but please try to provide a few more details on your system setup (hardware wise).&lt;BR /&gt;&lt;BR /&gt;Good luck!</description>
      <pubDate>Wed, 06 Jul 2005 01:00:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/mount-the-new-hd/m-p/3576737#M18521</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2005-07-06T01:00:43Z</dc:date>
    </item>
    <item>
      <title>Re: Mount the new HD</title>
      <link>https://community.hpe.com/t5/operating-system-linux/mount-the-new-hd/m-p/3576738#M18522</link>
      <description>thx for detail explaination , I use scsi drive and no RAID available ,&lt;BR /&gt;&lt;BR /&gt;I use "dmesg |grep ^sd" , but no output , if I use "dmesg |grep scsi" then output "Attached scsi disk sdb at scsi0, channel 0, id 2, lun 0" , it seems sdb is available , but if I use "fdisk /dev/sdb" ,then output "Unable to read /dev/sdb" , could suggest what is wrong ? thx</description>
      <pubDate>Wed, 06 Jul 2005 05:55:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/mount-the-new-hd/m-p/3576738#M18522</guid>
      <dc:creator>hangyu</dc:creator>
      <dc:date>2005-07-06T05:55:09Z</dc:date>
    </item>
    <item>
      <title>Re: Mount the new HD</title>
      <link>https://community.hpe.com/t5/operating-system-linux/mount-the-new-hd/m-p/3576739#M18523</link>
      <description>Ok, odd.&lt;BR /&gt;&lt;BR /&gt;What's the contents of '/proc/scsi/scsi' ?&lt;BR /&gt;&lt;BR /&gt;And no.  Unfortunately, the ID's only have an ordered relavance to the device's device node, i.e. 'sdb' is the 2nd SCSI disk, not necessarily id=2.&lt;BR /&gt;&lt;BR /&gt;But to start off with, eliminate '/dev/sda' as the currently mounted drive (simply type 'mount', and see what the first column says).</description>
      <pubDate>Wed, 06 Jul 2005 06:35:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/mount-the-new-hd/m-p/3576739#M18523</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2005-07-06T06:35:30Z</dc:date>
    </item>
    <item>
      <title>Re: Mount the new HD</title>
      <link>https://community.hpe.com/t5/operating-system-linux/mount-the-new-hd/m-p/3576740#M18524</link>
      <description>thx reply , &lt;BR /&gt;It seems the hardware problem , the hd can't shown at /proc/scsi/scsi , if I run "mount" , it only show the /sda , &lt;BR /&gt;thx help , let me check the hardware first.</description>
      <pubDate>Wed, 06 Jul 2005 07:09:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/mount-the-new-hd/m-p/3576740#M18524</guid>
      <dc:creator>hangyu</dc:creator>
      <dc:date>2005-07-06T07:09:00Z</dc:date>
    </item>
    <item>
      <title>Re: Mount the new HD</title>
      <link>https://community.hpe.com/t5/operating-system-linux/mount-the-new-hd/m-p/3576741#M18525</link>
      <description>thx reply ,&lt;BR /&gt;&lt;BR /&gt;The server can detect the HD now and it is /dev/hdb in my server , which is 36G HD, I want to ask again if I want to create a partition with 10G , please suggest what should I do ? thx&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Disk /dev/sdb: 271 heads, 63 sectors, 2485 cylinders&lt;BR /&gt;Units = cylinders of 16065 * 512 bytes&lt;BR /&gt;&lt;BR /&gt;Disk /dev/sdb doesn't contain a valid partition table</description>
      <pubDate>Tue, 19 Jul 2005 06:14:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/mount-the-new-hd/m-p/3576741#M18525</guid>
      <dc:creator>hangyu</dc:creator>
      <dc:date>2005-07-19T06:14:06Z</dc:date>
    </item>
    <item>
      <title>Re: Mount the new HD</title>
      <link>https://community.hpe.com/t5/operating-system-linux/mount-the-new-hd/m-p/3576742#M18526</link>
      <description>'/dev/hdb' eh? So it's an IDE disk.  Cool, no problem.&lt;BR /&gt;&lt;BR /&gt;Using 'fdisk /dev/hdb', use 'c'reate, 'p'rimary, '1' (for first partition), press enter for start cylinder, then type '+10G'.  That should create a 10GB partition as '/dev/hdb1'.  Write that, and quit fdisk.&lt;BR /&gt;&lt;BR /&gt;From there, you create the filesystem using 'mke2fs -J -v /dev/hdb1', to make an 'ext3' filesystem.&lt;BR /&gt;&lt;BR /&gt;After that, you can 'mount /dev/hdb1 /path/to/mount/point', and you should now have 10GB of usable space.&lt;BR /&gt;&lt;BR /&gt;To make that automatically mount upon reboot, modify the '/etc/fstab' file, adding an entry similar to:&lt;BR /&gt;&lt;BR /&gt;/dev/hdb1 /path/to/mount/point ext3 defaults 0 2&lt;BR /&gt;&lt;BR /&gt;to the bottom.</description>
      <pubDate>Tue, 19 Jul 2005 06:27:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/mount-the-new-hd/m-p/3576742#M18526</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2005-07-19T06:27:24Z</dc:date>
    </item>
    <item>
      <title>Re: Mount the new HD</title>
      <link>https://community.hpe.com/t5/operating-system-linux/mount-the-new-hd/m-p/3576743#M18527</link>
      <description>thx reply,&lt;BR /&gt;&lt;BR /&gt;I tried run "mke2fs -j -c -v /dev/sdb1" , that pop the messages below , could sugget how to fix it ? thx&lt;BR /&gt;&lt;BR /&gt;/dev/sdb1: Not enough space to build proposed filesystem while setting up superb&lt;BR /&gt;lock</description>
      <pubDate>Sat, 23 Jul 2005 01:59:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/mount-the-new-hd/m-p/3576743#M18527</guid>
      <dc:creator>hangyu</dc:creator>
      <dc:date>2005-07-23T01:59:17Z</dc:date>
    </item>
    <item>
      <title>Re: Mount the new HD</title>
      <link>https://community.hpe.com/t5/operating-system-linux/mount-the-new-hd/m-p/3576744#M18528</link>
      <description>why are you back to using 'sdb'?  I thought you said it was an IDE at 'hdb' ?!</description>
      <pubDate>Sat, 23 Jul 2005 03:39:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/mount-the-new-hd/m-p/3576744#M18528</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2005-07-23T03:39:20Z</dc:date>
    </item>
  </channel>
</rss>

