HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Linux Add Hard Drive
Operating System - Linux
1830234
Members
2035
Online
109999
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2002 09:43 AM
04-09-2002 09:43 AM
Hello,
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.
Could someone give me some hints on the less advanced Linux OS?
I like hpux.
Thanks a lot,
Steven
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.
Could someone give me some hints on the less advanced Linux OS?
I like hpux.
Thanks a lot,
Steven
Steve
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2002 09:54 AM
04-09-2002 09:54 AM
Solution
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.
Hope this helps.
-Santosh
Hope this helps.
-Santosh
Life is what's happening while you're busy making other plans
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2002 01:20 PM
04-09-2002 01:20 PM
Re: Linux Add Hard Drive
Santosh,
Thank you very much for the help! I finally get the SCSI drive recognized (I was wrong to think it was but not yet).
But I am troubled with fdisk and mke2fs. I know hpux that is easy to do.
From /proc/scsi/scsi, I get:
--------------------------
[root@linuxapp scsi]# cat scsi
Attached devices:
Host: scsi2 Channel: 00 Id: 06 Lun: 00
Vendor: BNCHMARK Model: DLT1 Rev: 4022
Type: Sequential-Access ANSI SCSI revision: 02
Host: scsi3 Channel: 00 Id: 00 Lun: 00
Vendor: DELL Model: PERCRAID Mirror Rev: 0001
Type: Direct-Access ANSI SCSI revision: 02
Host: scsi3 Channel: 00 Id: 01 Lun: 00
Vendor: DELL Model: PERCRAID Stripe Rev: 0001
Type: Direct-Access ANSI SCSI revision: 02
-----------------------------
The last Host is the newly added drive.
So my question is:
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.
I am thinking in term of hpux, but I am not in the right track.
Thanks a lot if you could help.
Steven
Thank you very much for the help! I finally get the SCSI drive recognized (I was wrong to think it was but not yet).
But I am troubled with fdisk and mke2fs. I know hpux that is easy to do.
From /proc/scsi/scsi, I get:
--------------------------
[root@linuxapp scsi]# cat scsi
Attached devices:
Host: scsi2 Channel: 00 Id: 06 Lun: 00
Vendor: BNCHMARK Model: DLT1 Rev: 4022
Type: Sequential-Access ANSI SCSI revision: 02
Host: scsi3 Channel: 00 Id: 00 Lun: 00
Vendor: DELL Model: PERCRAID Mirror Rev: 0001
Type: Direct-Access ANSI SCSI revision: 02
Host: scsi3 Channel: 00 Id: 01 Lun: 00
Vendor: DELL Model: PERCRAID Stripe Rev: 0001
Type: Direct-Access ANSI SCSI revision: 02
-----------------------------
The last Host is the newly added drive.
So my question is:
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.
I am thinking in term of hpux, but I am not in the right track.
Thanks a lot if you could help.
Steven
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2002 07:44 AM
04-15-2002 07:44 AM
Re: Linux Add Hard Drive
If you already know the /dev/sd# of the drive, then you can fdisk /dev/sd# and create your partitions, usually ext2 on Redhat.
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.
then, if you've ext3 support, you can convert your ext2 filesystem to ext3 (jounralling) with tune2fs -j /dev/sdb1.
Edit your /etc/fstab, add a new entry and make sure your filesystem type matches ext2 or ext3.
Now you can mount it.
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.
then, if you've ext3 support, you can convert your ext2 filesystem to ext3 (jounralling) with tune2fs -j /dev/sdb1.
Edit your /etc/fstab, add a new entry and make sure your filesystem type matches ext2 or ext3.
Now you can mount it.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP