Sponsored Content
Full Discussion: DG/UX : disk names ?!
Special Forums Hardware Filesystems, Disks and Memory DG/UX : disk names ?! Post 29108 by Agent_Orange on Monday 30th of September 2002 10:43:51 AM
Old 09-30-2002
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 :-)
i will use dd to copy scsi disk 1 to disk 2 :-)
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.
 

6 More Discussions You Might Find Interesting

1. AIX

Switch disk names ?

Hello, I have the following problem: My HACMP is configured to use certain disk name (hdisk12) for heartbeat function, it uses name, not PVID for that. And now after some reconfiguration my heartbeat disk changed it's name - now it's hdisk11, and hdisk12 is taken by another disk. I assume that... (3 Replies)
Discussion started by: vilius
3 Replies

2. Solaris

( VxVM ) How to add the removed disk back to previous disk group

Previously , i remove the disk by #vxdg -g testdg -k rmdisk testdg02 But i got error when i -k adddisk bash-2.03# vxdisk list DEVICE TYPE DISK GROUP STATUS c0t0d0s2 auto:none - - online invalid c0t1d0s2 auto:none ... (1 Reply)
Discussion started by: waibabe
1 Replies

3. Shell Programming and Scripting

Searching for file names in a directory while ignoring certain file names

Sun Solaris Unix Question Haven't been able to find any solution for this situation. Let's just say the file names listed below exist in a directory. I want the find command to find all files in this directory but at the same time I want to eliminate certain file names or files with certain... (2 Replies)
Discussion started by: 2reperry
2 Replies

4. Solaris

Convert from raw disk to solaris volume manager disk

I have a solaris 10 system configured using NetApp as its storage, and the file systems are already configured as you can see from the example below: root@moneta # df -h Filesystem size used avail capacity Mounted on /dev/md/dsk/d0 9.8G 513M 9.3G 6% / ... (0 Replies)
Discussion started by: fretagi
0 Replies

5. Shell Programming and Scripting

Exclude certain file names while selectingData files coming in different names in a file name called

Data files coming in different names in a file name called process.txt. 1. shipments_yyyymmdd.gz 2 Order_yyyymmdd.gz 3. Invoice_yyyymmdd.gz 4. globalorder_yyyymmdd.gz The process needs to discard all the below files and only process two of the 4 file names available ... (1 Reply)
Discussion started by: dsravanam
1 Replies

6. Filesystems, Disks and Memory

DISK ARRAY PROTECTION SUSPENDED message displayed following disk replacement

Hello, On 4/20/2018, we performed a disk replacement on our IBM 8202 P7 server. After the disk was rebuilt, the SAS Disk Array sissas0 showed a status of degraded. However, the pdisks in the array all show a status of active. We did see a message in errpt. DISK ARRAY PROTECTION SUSPENDED. ... (1 Reply)
Discussion started by: terrya
1 Replies
SD(4)							     Linux Programmer's Manual							     SD(4)

NAME
sd - Driver for SCSI Disk Drives SYNOPSIS
#include <linux/hdreg.h> /* for HDIO_GETGEO */ #include <linux/fs.h> /* for BLKGETSIZE and BLKRRPART */ CONFIG
The block device name has the following form: sdlp, where l is a letter denoting the physical drive, and p is a number denoting the parti- tion on that physical drive. Often, the partition number, p, will be left off when the device corresponds to the whole drive. SCSI disks have a major device number of 8, and a minor device number of the form (16 * drive_number) + partition_number, where drive_num- ber is the number of the physical drive in order of detection, and partition_number is as follows: partition 0 is the whole drive partitions 1-4 are the DOS "primary" partitions partitions 5-8 are the DOS "extended" (or "logical") partitions For example, /dev/sda will have major 8, minor 0, and will refer to all of the first SCSI drive in the system; and /dev/sdb3 will have major 8, minor 19, and will refer to the third DOS "primary" partition on the second SCSI drive in the system. At this time, only block devices are provided. Raw devices have not yet been implemented. DESCRIPTION
The following ioctls are provided: HDIO_GETGEO Returns the BIOS disk parameters in the following structure: struct hd_geometry { unsigned char heads; unsigned char sectors; unsigned short cylinders; unsigned long start; }; A pointer to this structure is passed as the ioctl(2) parameter. The information returned in the parameter is the disk geometry of the drive as understood by DOS! This geometry is not the physical geometry of the drive. It is used when constructing the drive's partition table, however, and is needed for convenient operation of fdisk(1), efdisk(1), and lilo(1). If the geometry information is not available, zero will be returned for all of the parameters. BLKGETSIZE Returns the device size in sectors. The ioctl(2) parameter should be a pointer to a long. BLKRRPART Forces a re-read of the SCSI disk partition tables. No parameter is needed. The scsi(4) ioctls are also supported. If the ioctl(2) parameter is required, and it is NULL, then ioctl() will return -EINVAL. FILES
/dev/sd[a-h]: the whole device /dev/sd[a-h][0-8]: individual block partitions SEE ALSO
scsi(4) 1992-12-17 SD(4)
All times are GMT -4. The time now is 09:09 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy