Hi...
question is this:
How do I mount an LVD hotswap scsi drive in bay #2 on a netra using the mount command? volmgt doesn't seem to mount it and/or I don't know how to view the drives data if it's formatted which it may not be. This drive is not new out of the box so I'm not sure.
... (4 Replies)
Can anyone tell me how to mount the USB driver in solaris 8?
I try many time that can't to mount USB driver. It can detect the USB driver by typing #iostat -En but can't mount the driver. (1 Reply)
Hi
Iīm new to san and lunīs
I see the disks, but are not able to mount them
bash-3.00# mountall
checking ufs filesystems
/dev/rdsk/c3t5006016930601F86d0s6: I/O error
Can't open /dev/rdsk/c3t5006016930601F86d0s6: I/O error
/dev/rdsk/c3t5006016930601F86d0s6: CAN'T CHECK FILE SYSTEM.... (1 Reply)
Hi All,
I just bought the SUN x2200m2. After I installed Solaris, I cannot see the CD/DVD ROM. I cannot mount the CD/DVD ROM since it says already mounted. When I try unmount it I get message that CD/DVD is not mounted. :(
Any idea please.
Thx (4 Replies)
Hi Friends,
I am trying following command on my solaris box:
mount abchostlinux12:/data1/mount_dir /data/mount_dir
OUTPUT:
nfs mount: abchostlinux12: : RPC: Rpcbind failure - RPC: Success
nfs mount: retrying: /data/mount_dir
After this there is no response on command line. I have... (6 Replies)
hi All,
I have two machines one which has Open solaris as its operating system and another which has Window Xp professional.I would like to mount a drive from the Windows machine onto the open solaris machine.Just to add i wish to do this without having SAMBA in place.
Anyone who can help me... (2 Replies)
Hi All,
:confused:
I had an issue with the USB in Solaris 10 Ultra SParc machine.
I am able to mount the USB in my machine using the mount command.
# mount -F pcfs /dev/dsk/c2t0d0s0:c /mnt
The problem is when i copy a file from my local hard disk to the USB using the " cp -p... (2 Replies)
Hello Admins;
I am working around on an issue of NFS mount on Solaris 8 server.
I am trying to mount a remote directory (which is on vlan 146 -solaris 10 server ) on solaris 8 client which is on vlan 10. The firewall rules have been opened, ports are opened.
But when I do
code: mount -F... (7 Replies)
Hi,
I'm using Solaris 10 and OS/2 warp. There is a share on OS/2 warp which I'm trying to mount on Solaris. I get the following error message
$mount -F nfs -o rw 10.5.170.16:D:\audio /AudioSCRAFT
nfs mount: 10.5.170.16:D:audio: no applicable versions of NFS supportedAny idea how I mount the... (5 Replies)
I have a Linux server with a cifsmount, the entry in /etc/fstab looks like this: //windows_server_name/xyz /opt/xyz cifs credentials=/etc/creds/xyz.creds,uid=abc,gid=abc,noserverino,directio,_netdev 0 0
The username and password are stored in /etc/creds/xyz.creds
This works fine.:wall: How... (1 Reply)
Discussion started by: Joke Holmer
1 Replies
LEARN ABOUT ULTRIX
dkio
dkio(4) Kernel Interfaces Manual dkio(4)Name
dkio - disk interface
Syntax
#include <sys/fs.h>
#include <sys/ioctl.h>
Description
This section describes the ioctl (input/output controller) codes for all disk drivers. The basic ioctl (input/output controller) format
is:
#include <sys/fs.h>
#include <sys/ioctl.h>
ioctl(fildes, code, arg)
struct pt *arg;
The applicable codes are:
DIOCGETPT Indicates to the driver to store the information in the current partition table in the address pointed to by arg. The file
descriptor must be opened on the raw partitions, a or c.
DIOCGETPT does not change the partition table, but it does provide access to the partition table information.
DIOCSETPT Indicates to the driver to modify the current partition table with the information pointed to by arg.
The file descriptor must be opened on the raw partitions, a or c.
If the a or c partition is not mounted, only the partition table in the driver is modified. This temporarily modifies the
partition table of the disk. The modifications are overwritten with the default table when the disk is turned off and on.
If the a or c partition is mounted, both the partition table in the driver and the partition table in the primary
superblock are modified. This permanently modifies the partition table of the disk. This is not recommended. To change a
partition table permanently, use the command.
DIOCDGTPT Indicates to the driver to store the default information of the current partition table in the address pointed to by arg.
The file descriptor must be opened on the raw partitions a or c.
DIOCGETPT does not change the partition table, but it does provide access to the partition table information.
DKIOCGET Allows the user to receive generic disk information as defined in structdevget.
DKIOCACC This code is defined in It is currently unused.
Restrictions
These restrictions apply when using the DIOCSETPT ioctl code:
o You must have superuser privileges.
o You cannot shrink or change the offset of a partition with a file system mounted on it or with an open file descriptor on the entire
partition.
o You cannot change the offset of the a partition.
Examples
This example shows how to use the DIOGETPT ioctl code to print the length and offset of the a partition of an RZ23 disk:
#include <sys/types.h>
#include <sys/param.h>
#include <sys/fs.h>
#include <sys/ioctl.h>
main()
{
struct pt arg;
int fd, i;
/* Open the "a" partition of the disk you want to see */
if ( (fd = open("/dev/rz0a",0)) < 0 ) {
printf("Unable to open device
");
exit(2);
}
/* Get the partition information */
if ( ioctl(fd,DIOCGETPT,&arg) < 0 )
printf("Error in ioctl
");
printf("Length Offset
");
for ( i = 0; i <= 7; i++ ) {
printf("%d %d
",arg.pt_part[i].pi_nblocks,
arg.pt_part[i].pi_blkoff );
}
}
FilesSee Alsorz(4), disktab(5), fstab(5), chpt(8), diskpart(8), fsck(8), MAKEDEV(8), mkfs(8), tunefs(8)
RISC dkio(4)