DG/UX : disk names ?!

hi there,

i normaly worked with linux, but at the moment i have to setup an dg/ux maschine ( intel based ).

ok, now i want to wirte a simple backup script :slight_smile:
i will use dd to copy scsi disk 1 to disk 2 :slight_smile:
under linux i would write something liek this :

dd if=/dev/sda of=/dev/sdb

or equal. but i don't understand the diskname system of the dg/ux system. i looked in /dev/dsk but i wondering about the devices there ....
in sysadm i have registert and formatet the destination disk. here some parameters :

source scsi disk = sd(apsc(pci(0),9,0,7),0,0)
destination dsik = sd(apsc(pci(0),9,0,7),4,0)

ok, if i start sysadm -> Device -> Disk -> Physical -> Copy and follow the instructors the system will successfull copy.

but this way needs to be connected and start it manual at the prompt.

can some one help / or tell me the disk names ?

have a nice day
Patrick k.

Try using the "mount" command with no options to see what filesystems are currently mouted - that should give you an idea of what the disk names are.

Also, you may have luck searching Google...

i have used the mount comamnd bevore posting.....
but i wondering about the output :

# mount
/dev/dsk/root on / type dg/ux (rw)
/dev/dsk/usr on /usr type dg/ux (rw,largefiles)
/dev/dsk/usr_opt_sdk on /usr/opt/sdk type dg/ux (rw,largefiles)
/dev/dsk/usr_opt_networker on /usr/opt/networker type dg/ux (rw,largefiles)
/dev/dsk/usr_opt_X11 on /usr/opt/X11 type dg/ux (rw,largefiles)
/dev/dsk/var_opt_networker on /var/opt/networker type dg/ux (rw,largefiles)
#

ok, i see the device name is /dev/dsk/root ( .. ).
the complete disk is : sd(apsc(pci(0),9,0,7),0,0)
and the second : sd(apsc(pci(0),9,0,7),4,0)

the second disk in not mounted, not registert.
how to become a device name for the second disk device ?

thanks
patrick

( is seems that dg/ux is system that not much users have to adminstrate :frowning: , but google is not really much dg/ux friendly )

...on comp.unix.admin ( or equal groups ) are too many dg/ux postings about disk names