<?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: Linux Add Hard Drive in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/linux-add-hard-drive/m-p/2700170#M1448</link>
    <description>If you already know the /dev/sd# of the drive, then you can fdisk /dev/sd# and create your partitions, usually ext2 on Redhat.&lt;BR /&gt;&lt;BR /&gt;mkfs /dev/sd##, where the Second number is the parition number. Just running mkfs /dev/sdb1 will format the first partition of scsi disk b with ext2 by default, using the entire partition size for the filesystem.&lt;BR /&gt;&lt;BR /&gt;then, if you've ext3 support, you can convert your ext2 filesystem to ext3 (jounralling) with tune2fs -j /dev/sdb1.&lt;BR /&gt;&lt;BR /&gt;Edit your /etc/fstab, add a new entry and make sure your filesystem type matches ext2 or ext3. &lt;BR /&gt;&lt;BR /&gt;Now you can mount it.</description>
    <pubDate>Mon, 15 Apr 2002 14:44:48 GMT</pubDate>
    <dc:creator>David Harmon</dc:creator>
    <dc:date>2002-04-15T14:44:48Z</dc:date>
    <item>
      <title>Linux Add Hard Drive</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-add-hard-drive/m-p/2700167#M1445</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;I have Redhat Linux on HP server and added a SCSI drive.   After adding, I find Linux lacks hpux ioscan and vgcreate.. commands to work on creating the working drive.&lt;BR /&gt;&lt;BR /&gt;Could someone give me some hints on the less advanced Linux OS?   &lt;BR /&gt;&lt;BR /&gt;I like hpux.&lt;BR /&gt;&lt;BR /&gt;Thanks a lot,&lt;BR /&gt;&lt;BR /&gt;Steven</description>
      <pubDate>Tue, 09 Apr 2002 16:43:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-add-hard-drive/m-p/2700167#M1445</guid>
      <dc:creator>Steven Chen_1</dc:creator>
      <dc:date>2002-04-09T16:43:10Z</dc:date>
    </item>
    <item>
      <title>Re: Linux Add Hard Drive</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-add-hard-drive/m-p/2700168#M1446</link>
      <description>You should be able to find the newly attached scsi drive by doing a cat on /proc/scsi/scsi.  This actually lists all the SCSI attached devices.  Once you have determined the device file for the disk, e.g. /dev/sda, /dev/sdb, etc, you should be able to use fdisk to partition up the disk and then mke2fs to creat the filesystem.&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;-Santosh</description>
      <pubDate>Tue, 09 Apr 2002 16:54:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-add-hard-drive/m-p/2700168#M1446</guid>
      <dc:creator>Santosh Nair_1</dc:creator>
      <dc:date>2002-04-09T16:54:47Z</dc:date>
    </item>
    <item>
      <title>Re: Linux Add Hard Drive</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-add-hard-drive/m-p/2700169#M1447</link>
      <description>Santosh,&lt;BR /&gt;&lt;BR /&gt;Thank you very much for the help!  I finally get the SCSI drive recognized (I was wrong to think it was but not yet).&lt;BR /&gt;&lt;BR /&gt;But I am troubled with fdisk and mke2fs.   I know hpux that is easy to do.  &lt;BR /&gt;&lt;BR /&gt;From /proc/scsi/scsi, I get:&lt;BR /&gt;&lt;BR /&gt;--------------------------&lt;BR /&gt;[root@linuxapp scsi]# cat scsi&lt;BR /&gt;Attached devices: &lt;BR /&gt;&lt;BR /&gt;Host: scsi2 Channel: 00 Id: 06 Lun: 00&lt;BR /&gt;  Vendor: BNCHMARK Model: DLT1             Rev: 4022&lt;BR /&gt;  Type:   Sequential-Access                ANSI SCSI revision: 02&lt;BR /&gt;&lt;BR /&gt;Host: scsi3 Channel: 00 Id: 00 Lun: 00&lt;BR /&gt;  Vendor: DELL     Model: PERCRAID Mirror  Rev: 0001&lt;BR /&gt;  Type:   Direct-Access                    ANSI SCSI revision: 02&lt;BR /&gt;&lt;BR /&gt;Host: scsi3 Channel: 00 Id: 01 Lun: 00&lt;BR /&gt;  Vendor: DELL     Model: PERCRAID Stripe  Rev: 0001&lt;BR /&gt;  Type:   Direct-Access                    ANSI SCSI revision: 02&lt;BR /&gt;-----------------------------&lt;BR /&gt;&lt;BR /&gt;The last Host is the newly added drive.&lt;BR /&gt;&lt;BR /&gt;So my question is:&lt;BR /&gt;Where can I find the drive info and get the fdisk command going?   I am going to use sdb, considering the first two drives are mirrored and this one is going to stand-alone.&lt;BR /&gt;&lt;BR /&gt;I am thinking in term of hpux, but I am not in the right track.&lt;BR /&gt;&lt;BR /&gt;Thanks a lot if you could help.&lt;BR /&gt;&lt;BR /&gt;Steven&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 09 Apr 2002 20:20:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-add-hard-drive/m-p/2700169#M1447</guid>
      <dc:creator>Steven Chen_1</dc:creator>
      <dc:date>2002-04-09T20:20:15Z</dc:date>
    </item>
    <item>
      <title>Re: Linux Add Hard Drive</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-add-hard-drive/m-p/2700170#M1448</link>
      <description>If you already know the /dev/sd# of the drive, then you can fdisk /dev/sd# and create your partitions, usually ext2 on Redhat.&lt;BR /&gt;&lt;BR /&gt;mkfs /dev/sd##, where the Second number is the parition number. Just running mkfs /dev/sdb1 will format the first partition of scsi disk b with ext2 by default, using the entire partition size for the filesystem.&lt;BR /&gt;&lt;BR /&gt;then, if you've ext3 support, you can convert your ext2 filesystem to ext3 (jounralling) with tune2fs -j /dev/sdb1.&lt;BR /&gt;&lt;BR /&gt;Edit your /etc/fstab, add a new entry and make sure your filesystem type matches ext2 or ext3. &lt;BR /&gt;&lt;BR /&gt;Now you can mount it.</description>
      <pubDate>Mon, 15 Apr 2002 14:44:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-add-hard-drive/m-p/2700170#M1448</guid>
      <dc:creator>David Harmon</dc:creator>
      <dc:date>2002-04-15T14:44:48Z</dc:date>
    </item>
  </channel>
</rss>

