[SunRescue] Extra HD

ed_mitchell at adc.com ed_mitchell at adc.com
Wed Sep 20 08:38:50 CDT 2000


OK, the system 'sees' the drive now, yes?

Fine.  Assuming you know the SCSI ID of the drive...

As root;

# format
Searching for disks. . .done

AVAILABLE DISK SELECTIONS:

0.  cxtxdx <Drive info here...blah blah blah>
     /path/to/instance/information

1.  cytydy <More drive crud here....?
    /another/path/to/instance

Type 1 or 0, depending on what drive you want to format.

Type 'f' for format and wait a while. :)
Type 'p' to go to the partition screen and adjust your slices as you like
Type 'l'(ell) to label the sucker and save the VTOC
Type 'q' to quit.

Now, run newfs(adjust inodes/Kb as you like, run fsirand if you're paranoid
or using the disk in an NFS environment)
The raw device name you need to know is probably going to be something
like:

/dev/rdsk/cxtxdxsx, where the c/t/d info matches the drive you selected
from the options in the opening menu for the format command.  If you are
uncertain, you have a couple of options.  You can ls -lL /dev/rdsk/cxtxdxsx
and see if it points to anything under /etc/devices(in which case, you've
got the right thing).  If there is no symlink between the /dev entry and
the /devices entry, something would probably be very wrong, or else you're
working with something like DiskSuite or Veritas perhaps.

Does this help?



From: Walter Peterson <walterp at cyberstreet.com> on 09/20/2000 02:46 AM GMT

Please respond to rescue at sunhelp.org

To:   rescue at sunhelp.org
cc:    (bcc: Ed Mitchell/US/Centigram)
Subject:  Re: [SunRescue] Extra HD




It seems I still need to know the raw device name.

On Tue, 19 Sep 2000, Alan Rubin wrote:

> dont forget to run newfs before you  try to mount a filesystem.
>
> alan
>
> On Tue, 19 Sep 2000, Kurt Nowak wrote:
>
> > the "format" selection under the format command will format the drive
:)
> >
> > kurt
> >
> >
> > Walter Peterson wrote:
> >
> > > Ok, I have the drive recognized. What device name do I use to fdisk
the
> > > drive. Or do I even need to run fdisk. drvconfig and drives did the
trick.
> > > Format "formats?" the drive. Still can't mount it however.
> > >
> > > Looking forward to getting RedHat!
> > >
> > > At 02:26 PM 9/19/00 -0700, you wrote:
> > > >No. Unless the devises are already registered in the /dev/rdsk
directory, you
> > > >need to execute 'drvconfig' and 'disks' first.
> > > >
> > > >Kurt
> > > >
> > > >"Hatle, Steven J." wrote:
> > > >
> > > >> I may have missed this earlier, but in Solaris if you issue the
'format'
> > > >> command does the second disk show up in the selection screen?
> > > >>
> > > >> Steve
> > > >>
> > > >> -----Original Message-----
> > > >> From: Walter Peterson [mailto:wep at cyberstreet.com]
> > > >> Sent: Tuesday, September 19, 2000 3:15 PM
> > > >> To: rescue at sunhelp.org
> > > >> Subject: [SunRescue] Extra HD
> > > >>
> > > >> If I do a probe-scsi it shows both drives
> > > >>
> > > >> here is output
> > > >>
> > > >> Target 1
> > > >> Unit 0  Disk    Tandem 4255-5   902800149969
> > > >>                         Copyright (c) 1994 Seagate
> > > >>                         All rights reserved 000
> > > >> Target 3
> > > >> Unit 0  Disk    Seagate ST11200N        SUN1.0594000000000
> > > >>                         Copyright (c) 1995 000
> > > >>                         All rights reserved 000
> > > >>
> > > >> Target 3 has Solaris installed on and boots. The other drive does
not
> > > >> showup in openboot during normal boot process and solaris can't
see it.
> > > >> (may have no partitions on it).
> > > >>
> > > >> A few answers...
> > > >>
> > > >> >The output from OpenBoot would be helpful - that would tell us
the target
> > > >> >the new HD is actually set to, since SCSI ID 1 doesn't appear to
be
> > > >> working.
> > > >>
> > > >> >CD-ROMs for Sun systems are typically set to SCSI ID #6, then you
can
> > > >> >typically issue a command like 'boot cdrom' from the OK> prompt
to run the
> > > >> >Red Hat installer (same for Solaris).
> > > >>
> > > >> >RedHat Linux labels hard drives as letters starting with the
first
> > > drive it
> > > >> >finds, your SCSI ID HD would be sda, than the pre-existing HD on
SCSI ID 3
> > > >> >would be sdb. If you were to later add a drive as SCSI ID 2, then
Red Hat
> > > >> >Linux would map the drives as SCSI ID 1 would be sda, SCSI ID 2
would be
> > > >> >sdb, and the SCSI ID HD would be sdc - any links to mount
filesystems on
> > > >> >SCSI ID 3 would break, and need to be fixed.
> > > >>
> > > >> _______________________________________________
> > > >> Rescue maillist  -  Rescue at sunhelp.org
> > > >> http://www.sunhelp.org/mailman/listinfo/rescue
> > > >> _______________________________________________
> > > >> Rescue maillist  -  Rescue at sunhelp.org
> > > >> http://www.sunhelp.org/mailman/listinfo/rescue
> > > >
> > > >_______________________________________________
> > > >Rescue maillist  -  Rescue at sunhelp.org
> > > >http://www.sunhelp.org/mailman/listinfo/rescue
> > > >
> > > >
> > > _______________________________________________
> > > Rescue maillist  -  Rescue at sunhelp.org
> > > http://www.sunhelp.org/mailman/listinfo/rescue
> >
> > _______________________________________________
> > Rescue maillist  -  Rescue at sunhelp.org
> > http://www.sunhelp.org/mailman/listinfo/rescue
> >
> >
>
> _________________
> *Alan Rubin*
> Sun/Unix/Networking/ISP/Web Writing
> Email:rubin at ezy.net
>
>
> _______________________________________________
> Rescue maillist  -  Rescue at sunhelp.org
> http://www.sunhelp.org/mailman/listinfo/rescue
>

_______________________________________________
Rescue maillist  -  Rescue at sunhelp.org
http://www.sunhelp.org/mailman/listinfo/rescue











More information about the rescue mailing list