How to mount a SunOS disk from Solaris

How to mount a SunOS disk from Solaris

Post by Travis L » Sat, 14 Sep 1996 04:00:00



Hi all,

I have a sparc2 with SunOS 4.1.x installed on disk sd0 and Solaris 2.5 installed on
disk sd1.  The machine can be booted on different OS.
I need to access files on the SunOS disk but having problem mounting the
SunOS disk sd0 from Solaris side as I don't know what device file to use.

Can someone show me a command how to mount for my configuration?
Any help would be greatly appreciated (I am not a SA).

Here is some related info from Solaris:

$ mount
/ on /dev/dsk/c0t1d0s0 read/write/setuid on Tue Sep 10 20:00:37 1996
/usr on /dev/dsk/c0t1d0s6 read/write/setuid on Tue Sep 10 20:00:37 1996
/proc on /proc read/write/setuid on Tue Sep 10 20:00:37 1996
/dev/fd on fd read/write/setuid on Tue Sep 10 20:00:37 1996
/export/home on /dev/dsk/c0t1d0s7 setuid/read/write on Tue Sep 10 20:00:39 1996
/tmp on swap read/write on Tue Sep 10 20:00:39 1996

$ ls -l /dev/dsk
total 32
lrwxrwxrwx   1 root     root          51 Aug 23 22:23 c0t1d0s0 -> ../../devices/

lrwxrwxrwx   1 root     root          51 Aug 23 22:23 c0t1d0s1 -> ../../devices/

lrwxrwxrwx   1 root     root          51 Aug 23 22:23 c0t1d0s2 -> ../../devices/

lrwxrwxrwx   1 root     root          51 Aug 23 22:23 c0t1d0s3 -> ../../devices/

lrwxrwxrwx   1 root     root          51 Aug 23 22:23 c0t1d0s4 -> ../../devices/

lrwxrwxrwx   1 root     root          51 Aug 23 22:23 c0t1d0s5 -> ../../devices/

lrwxrwxrwx   1 root     root          51 Aug 23 22:23 c0t1d0s6 -> ../../devices/

lrwxrwxrwx   1 root     root          51 Aug 23 22:23 c0t1d0s7 -> ../../devices/

lrwxrwxrwx   1 root     root          51 Aug 23 22:23 c0t6d0s0 -> ../../devices/

lrwxrwxrwx   1 root     root          51 Aug 23 22:23 c0t6d0s1 -> ../../devices/

lrwxrwxrwx   1 root     root          51 Aug 23 22:23 c0t6d0s2 -> ../../devices/

lrwxrwxrwx   1 root     root          51 Aug 23 22:23 c0t6d0s3 -> ../../devices/

lrwxrwxrwx   1 root     root          51 Aug 23 22:23 c0t6d0s4 -> ../../devices/

lrwxrwxrwx   1 root     root          51 Aug 23 22:23 c0t6d0s5 -> ../../devices/

lrwxrwxrwx   1 root     root          51 Aug 23 22:23 c0t6d0s6 -> ../../devices/

lrwxrwxrwx   1 root     root          51 Aug 23 22:23 c0t6d0s7 -> ../../devices/

$ dmesg
Sep 11 20:33
SunOS Release 5.5 Version Generic [UNIX(R) System V Release 4.0]
Copyright (c) 1983-1995, Sun Microsystems, Inc.
mem = 65536K (0x4000000)
avail mem = 62337024
Ethernet address = 8:0:20:e:1b:39
root nexus = SUNW,Sun 4_75
sbus0 at root: obio 0xf8000000
dma0 at sbus0: SBus slot 0 0x400000
esp0 at sbus0: SBus slot 0 0x800000 SBus level 3 sparc ipl 3
sd0 at esp0: target 0 lun 0

        <Box Hill Systems HDH 760MB cyl 1445 alt 2 hd 16 sec 56>
sd1 at esp0: target 1 lun 0

        <SUN1.05 cyl 2036 alt 2 hd 14 sec 72>
sd3 at esp0: target 3 lun 0

        <SUN0207 cyl 1254 alt 2 hd 9 sec 36>

--

 
 
 

1. mounting locally a sunos 4.1.3 disk in solaris 2.3

We have a SunOS 4.1.3 external disk and we need to mount it in a Solaris 2.3
workstation:

I have make this as suggested by the Solaris 2 FAQ to make the system
recognize the disk:

        #!/bin/sh
        #
        # add-disk
        #
        #       Runs the commands to make Solaris locate a new disk that
        #       has been plugged in after the system was booted.
        #

        _DVFS_RECONFIG=YES; export _DVFS_RECONFIG  # Solaris 2.1
        _INIT_RECONFIG=YES; export _INIT_RECONFIG  # Solaris 2.[23]

        /etc/init.d/drvconfig
        /etc/init.d/devlinks

        exit 0

But now, i don't know how to mount it!!.

The format recognizes the disk: c0t3d0. And there are 4 partitions:
c0t3d0s0 c0t3d0s1 c0t3d0s2 c0t3d0s6

I try to mount their as ufs partitions but i can't (wrong fs type). I have
also tried to mount it as a 4.3 fs type but i don't know how to make it.

The disk was formatted with SunOS 4.1.3.

Any idea?. I need a entry in the /etc/vfstab to add.

Thanks in advance.

--

-----------------------------------------------------------------------------
Pedro Antonio Acebes Bayon

Telef: +34-1-337 4872
FAX:   +34-1-337 4222

2. PROFTPD

3. mount remote DOS disk on solaris 1 (SunOS 4.1.3_U1) ?

4. Problem with moving hard-disk

5. mount disk sunos-4.1.3_1_b

6. What is the status of Linux for the Palm Pilot?

7. Mount disks larger than 2 MB in SunOS 4.1.2

8. access to keyboard without video adapter

9. Disk image of SunOS 4.1.4 to mount under Linux?

10. How to mount the whole disk as a single partition in SunOS 5.3 ?

11. Mounting solaris on SunOs and vice versa

12. mount points via getmntent in SunOS + Solaris

13. remote mount Solaris 2.5.1 to SunOS 4.1.3