Adding a second hard drive

2002-02-08 Thread Patrick Kirk
Hi all,

I have a second hard drive installed and in the Dell BIOS its seen as a 40
Gig hard drive which is correct.

The system runs Debian Woody with kernel 2.4.17

When I try to partition the second hard drive using cf disk, all I see is
the first hda drive...no sign at all of the second.

cfdisk /dev/hdb and cfdisk /dev/hdd both report FATAL ERROR: Cannot open
disk drive

What do I need to do to partition and format the second drive?

Thanks in advance,

Patrick

Telephone: 0870 011 8494
GSM: 07876 560 646
Web site: www.kirks.net



Re: Adding a second hard drive

2002-02-08 Thread J.A.Serralheiro
try /dev/hdc instead


On Fri, 8 Feb 2002, Patrick Kirk wrote:

 Hi all,
 
 I have a second hard drive installed and in the Dell BIOS its seen as a 40
 Gig hard drive which is correct.
 
 The system runs Debian Woody with kernel 2.4.17
 
 When I try to partition the second hard drive using cf disk, all I see is
 the first hda drive...no sign at all of the second.
 
 cfdisk /dev/hdb and cfdisk /dev/hdd both report FATAL ERROR: Cannot open
 disk drive
 
 What do I need to do to partition and format the second drive?
 
 Thanks in advance,
 
 Patrick
 
 Telephone: 0870 011 8494
 GSM: 07876 560 646
 Web site: www.kirks.net
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
 
 



Re: Adding a second hard drive THANK YOU!!

2002-02-08 Thread Patrick Kirk

zulfiqar:~# dmesg |grep hd
ide0: BM-DMA at 0xffa0-0xffa7, BIOS settings: hda:DMA, hdb:pio
ide1: BM-DMA at 0xffa8-0xffaf, BIOS settings: hdc:DMA, hdd:pio
hda: WDC AC24300L, ATA DISK drive
hdc: MAXTOR 6L040J2, ATA DISK drive
hda: 8421840 sectors (4312 MB) w/256KiB Cache, CHS=524/255/63, UDMA(33)
hdc: 78177792 sectors (40027 MB) w/1820KiB Cache, CHS=77557/16/63, UDMA(33)
 hda: hda1 hda2 hda3 hda4
 hdc: unknown partition table


THANK YOU!!
- Original Message -
From: Kurc, Marcin A. [EMAIL PROTECTED]
To: 'Patrick Kirk' [EMAIL PROTECTED]
Sent: Friday, February 08, 2002 8:15 AM
Subject: RE: Adding a second hard drive


 what does 'dmesg |grep hd' show?


 Marcin Kurc
 CAD Systems Administrator
 Cooper-Standard Automotive

 -Original Message-
 From: Patrick Kirk [mailto:[EMAIL PROTECTED]
 Sent: Friday, February 08, 2002 7:12 PM
 To: Debian User
 Subject: Adding a second hard drive


 Hi all,

 I have a second hard drive installed and in the Dell BIOS its seen as a 40
 Gig hard drive which is correct.

 The system runs Debian Woody with kernel 2.4.17

 When I try to partition the second hard drive using cf disk, all I see is
 the first hda drive...no sign at all of the second.

 cfdisk /dev/hdb and cfdisk /dev/hdd both report FATAL ERROR: Cannot open
 disk drive

 What do I need to do to partition and format the second drive?

 Thanks in advance,

 Patrick

 Telephone: 0870 011 8494
 GSM: 07876 560 646
 Web site: www.kirks.net


 --
 To UNSUBSCRIBE, email to [EMAIL PROTECTED]
 with a subject of unsubscribe. Trouble? Contact
 [EMAIL PROTECTED]




Re: Adding a second hard drive THANK YOU!!

2002-02-08 Thread J.A.Serralheiro
here are some more tips

ide 0 master is hda
ide 0 slave is  hdb
ide 1 master is hdc
ide 1 slave is  hdd

u must know wether your hd is master or slave and if its in ide0 ( primary
)
or in ide 1 ( secondary )


On Fri, 8 Feb 2002, Patrick Kirk wrote:

 
 zulfiqar:~# dmesg |grep hd
 ide0: BM-DMA at 0xffa0-0xffa7, BIOS settings: hda:DMA, hdb:pio
 ide1: BM-DMA at 0xffa8-0xffaf, BIOS settings: hdc:DMA, hdd:pio
 hda: WDC AC24300L, ATA DISK drive
 hdc: MAXTOR 6L040J2, ATA DISK drive
 hda: 8421840 sectors (4312 MB) w/256KiB Cache, CHS=524/255/63, UDMA(33)
 hdc: 78177792 sectors (40027 MB) w/1820KiB Cache, CHS=77557/16/63, UDMA(33)
  hda: hda1 hda2 hda3 hda4
  hdc: unknown partition table
 
 
 THANK YOU!!
 - Original Message -
 From: Kurc, Marcin A. [EMAIL PROTECTED]
 To: 'Patrick Kirk' [EMAIL PROTECTED]
 Sent: Friday, February 08, 2002 8:15 AM
 Subject: RE: Adding a second hard drive
 
 
  what does 'dmesg |grep hd' show?
 
 
  Marcin Kurc
  CAD Systems Administrator
  Cooper-Standard Automotive
 
  -Original Message-
  From: Patrick Kirk [mailto:[EMAIL PROTECTED]
  Sent: Friday, February 08, 2002 7:12 PM
  To: Debian User
  Subject: Adding a second hard drive
 
 
  Hi all,
 
  I have a second hard drive installed and in the Dell BIOS its seen as a 40
  Gig hard drive which is correct.
 
  The system runs Debian Woody with kernel 2.4.17
 
  When I try to partition the second hard drive using cf disk, all I see is
  the first hda drive...no sign at all of the second.
 
  cfdisk /dev/hdb and cfdisk /dev/hdd both report FATAL ERROR: Cannot open
  disk drive
 
  What do I need to do to partition and format the second drive?
 
  Thanks in advance,
 
  Patrick
 
  Telephone: 0870 011 8494
  GSM: 07876 560 646
  Web site: www.kirks.net
 
 
  --
  To UNSUBSCRIBE, email to [EMAIL PROTECTED]
  with a subject of unsubscribe. Trouble? Contact
  [EMAIL PROTECTED]
 
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
 
 



Re: Adding a second hard drive THANK YOU!!

2002-02-08 Thread Patrick Kirk
Now that its all working nicely, I've added the new partitions to fstab like
so:

/dev/hdc1   /home/engineering ext3  rw 0   2
/dev/hdc3   /home/data  ext3rw 0   2

Is this correct or should I use defaults,errors=remount-ro instead of rw?

Not a life or death question (I think) but advice would be appreciated.

Thanks.



Re: Adding a second hard drive THANK YOU!!

2002-02-08 Thread Andrew Agno
Patrick Kirk writes:
  Now that its all working nicely, I've added the new partitions to fstab like
  so:
  
  /dev/hdc1   /home/engineering ext3  rw 0   2
  /dev/hdc3   /home/data  ext3rw 0   2
  
  Is this correct or should I use defaults,errors=remount-ro instead of rw?

You may want nosuid,nodev, depending on your needs.

Andrew.



Re: Adding a second hard drive THANK YOU!!

2002-02-08 Thread Craig Dickson
begin  Patrick Kirk  quotation:

 Now that its all working nicely, I've added the new partitions to fstab like
 so:
 
 /dev/hdc1   /home/engineering ext3  rw 0   2
 /dev/hdc3   /home/data  ext3rw 0   2
 
 Is this correct or should I use defaults,errors=remount-ro instead of rw?

I think rw should be fine for home directories. I only use
errors=remount-ro for the root fs (might make sense for /usr also).

Craig


pgp579hqwgTT8.pgp
Description: PGP signature


Re: Adding a second hard drive

2002-02-08 Thread Michael C. Alonzo
On Fri, Feb 08, 2002 at 04:09:53PM +, J.A.Serralheiro wrote:
 try /dev/hdc instead
 
 
 On Fri, 8 Feb 2002, Patrick Kirk wrote:
 
  Hi all,
  
  I have a second hard drive installed and in the Dell BIOS its seen as a 40
  Gig hard drive which is correct.
  
  The system runs Debian Woody with kernel 2.4.17
  
  When I try to partition the second hard drive using cf disk, all I see is
  the first hda drive...no sign at all of the second.
  
  cfdisk /dev/hdb and cfdisk /dev/hdd both report FATAL ERROR: Cannot open
  disk drive
  
  What do I need to do to partition and format the second drive?
  
  Thanks in advance,
  
  Patrick
  
  Telephone: 0870 011 8494
  GSM: 07876 560 646
  Web site: www.kirks.net
  
  
  -- 
  To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
  with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
  
  
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]

does the BIOS recognize the drive? if so, is it primary/secondary?


-- 
When you have eliminated the impossible, whatever remains, 
however improbable, must be the truth.

--Sherlock Holmes _The Sign of Four_