problems mounting slave

problems mounting slave

Post by Steve Foile » Tue, 29 Jul 1997 04:00:00



I was wondering if anyone had any ideas for my problem.

I have a computer that was running an older non-open server version
of SCO (probably 3.2v4.0?).  The main drive died, and have since
loaded a new drive with SCO Open Server Network System (3.2v4.2).
The problem I'm having is, I can't seem to mount my slave drive
that was being used as a backup hd for the old system.

I've created the device files (/dev/disk2 and /dev/rdisk2).
When I attempt to mount (mount /dev/disk2 /mnt) it says,
"mount: cannot stat '/dev/disk2'"    although it *does* echo
the correct "%disk  -  -  - type=W0 unit=1 cyls=989 hds=12 secs=35"
message.

"fsck /dev/disk2" tells me

fsck: cannot determine filesystem type of /dev/disk2

If I run "divvy /dev/disk2" the table comes up with appropriate
starting and ending numbers.  The "Type" column says "NON FS"

If I run "fdisk -f /dev/rdisk2" it displays a normal looking
partition with "UNIX" under the "Type" column and "Active" under
the "Status" column.

This drive contains the only known backup of dead drive, any
hints would be greatly appreciated.

Thanks


 
 
 

problems mounting slave

Post by Bela Lubki » Fri, 01 Aug 1997 04:00:00



> I have a computer that was running an older non-open server version
> of SCO (probably 3.2v4.0?).  The main drive died, and have since
> loaded a new drive with SCO Open Server Network System (3.2v4.2).
> The problem I'm having is, I can't seem to mount my slave drive
> that was being used as a backup hd for the old system.

> I've created the device files (/dev/disk2 and /dev/rdisk2).

There's the problem -- how did you create them?

Quote:> When I attempt to mount (mount /dev/disk2 /mnt) it says,
> "mount: cannot stat '/dev/disk2'"    although it *does* echo
> the correct "%disk  -  -  - type=W0 unit=1 cyls=989 hds=12 secs=35"
> message.

This means that /dev/disk2 is *some* minor number of the correct major.
In fact, it means it's one of the 64 minors which refer to that drive
unit.

Quote:> "fsck /dev/disk2" tells me

> fsck: cannot determine filesystem type of /dev/disk2

/dev/disk2 is probably a whole-disk or whole-partition node.  Hopefully
you have not damaged the contents by trying to fsck it.

Quote:> If I run "divvy /dev/disk2" the table comes up with appropriate
> starting and ending numbers.  The "Type" column says "NON FS"

> If I run "fdisk -f /dev/rdisk2" it displays a normal looking
> partition with "UNIX" under the "Type" column and "Active" under
> the "Status" column.

Look at man page hd(HW).  That will help you determine exactly what
sorts of nodes your /dev/[r]disk2 are.

But in any case, you have the solution in hand.  Run divvy as you did
before, but now use it to give *names* to the divisions that have the
right *numbers*.  DO NOT try to change anything else.  divvy says "NON
FS"; this is a "normal" bug in divvy, do not attempt to "fix" it.  Just
change the names of those divisions (e.g. name the old root "oldroot").
Then q[uit] and i[nstall] the new names.  Now, if you run divvy again,
it it should show the correct names *and types*.  Now you can mount the
old filesystems under their new names, e.g.:

  mount -r /dev/oldroot /mnt

You would be wise to mount them read-only, and immediately make backups.
Do not try to fsck them unless you have filesystem problems; fsck can
make things worse.  Only fsck after you've backed up what you can.

Quote:>Bela<


 
 
 

1. Slave CD-ROM can't be mounted

We install Red Hat linux 5.2 in a machine with a cd-writer as primary
disk on IDE1 and a cd-reader as secondary and slave drive in the same
IDE.

We can mount without problems the cd-writer (the primary disk), but we
can't mount the cd-reader...

Anybody knows what is the problem?

Thanks in advance and sorry for my poor english

-----
Remove NOSPAM for answering
David Martnez Oliveira

Personal Web: http://wgpi.tsc.uvigo.es/~dyc
EDMA WebSite: http://wgpi.tsc.uvigo.es/~dyc/EDMASite

2. Suggestion for Wireless Networking

3. Help on: mount/unmount tape drive that is slaved off the floppy controller.

4. LILO & Booting from "hdc", the third hard disk.

5. Problems with dump - master/slave protocol botched

6. How to send packet directly through a NIC

7. Slave mode xterm problem

8. MODELINES!!!!!!!

9. IDE0(Primary)/Slave Detection Problem

10. slaved name service problems. . .

11. UUCP problem: "In Send/Slave mode: Input Failure"

12. problem : installing solaris 8 (x86) on primary slave

13. Problem: time(d) master and slave