From: alan@nabeth.cxo.dec.com (Alan Rollow - Dr. File System's Home for Wayward Inodes.)
Subject: Re: Seagate scsi-2 disk from RS6000 to DECAlpha?
Date: 1997/06/11 [thread overview]
Message-ID: <5nkq2j$1dq@nntpd2.cxo.dec.com> (raw)
In-Reply-To: 5niel4$8vm$1@power42t.hkbu.edu.hk
In article <5niel4$8vm$1@power42t.hkbu.edu.hk>, s11976@net2.hkbu.edu.hk (Pui Ming WONG) writes:
>
> [ The context is mostly irrelevant to the question as put... ]
>
>Several questions:
>1. How does the system know what X (in rrzXa) is, since the disk is just newly
>added before the OS was installed ?
Two answers; you told it and it doesn't, but sometimes doesn't need to.
The disklabel command knows that device to use because it is the
argument to the command.
Before V4.0 you had to create the special files yourself using
the MAKEDEV script in /dev:
# cd /dev
# ./MAKEDEV rzX
You find 'X' from: (bus * 8) + ID. You need to know the ID and the bus
number. For SCSI connected disks you can verify the disk is seen
on the bus using the command:
# scu scan edt bus <number>
# scu show edt bus <number>
You need to know the ID, if for no other reason than to verify
that it isn't already in use.
If the disk was added before the system was installed, then the
installation process will create special files for all the
devices it finds during the installation. The "system" can't
tell the difference between a disk you added after you unpacked
the system and one that was there before...
>2. The disk was previously used under the AIX OS. Now i'm using it
>under Digital Unix, do i have to low-level format it since it
>already carried AIX disk format info ? In other words, do i have
>to create a brand new disk table for it to be usable under Digital Unix ?
>If so, how?
If the AIX format was to use 512 byte sectors, you don't need to
reformat. If it used a different sector size, then you will need
to reformat. The disklabel is independent of the format. It is
unlikely (though possible) that whatever IBM uses for a disklabel
is is the same as what we use. Odds are whatever labeling their
Operating System put on the disks is just random bytes to us.
There is a difference between the format imposed by the SCSI
adapter and the disklabel/VTOC/whatever managed by the operating
system.
--
Alan Rollow alan@nabeth.cxo.dec.com
next prev parent reply other threads:[~1997-06-11 4:00 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-06-06 4:00 Using Seagate scsi-s disk? Pui Ming WONG
1997-06-06 4:00 ` Juergen Schroeder
1997-06-10 4:00 ` Seagate scsi-2 disk from RS6000 to DECAlpha? Pui Ming WONG
1997-06-10 4:00 ` Juergen Schroeder
1997-06-11 4:00 ` Alan Rollow - Dr. File System's Home for Wayward Inodes. [this message]
1997-06-06 4:00 ` Using Seagate scsi-s disk? Juergen Schroeder
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox