Sponsored Content
Full Discussion: How to mount Solaris 2
Operating Systems Solaris How to mount Solaris 2 Post 302338678 by microbot on Tuesday 28th of July 2009 03:58:50 PM
Old 07-28-2009
Quote:
Originally Posted by gxmsgx
Hi microbot,
...SmilieSmilieSmilieSmilie ...you do not give up!!
...but also on Gentoo you need to build the filesystem (with the mkfs command) after creating the partition Smilie
I used gentoo for a few years ,but Solaris rocks , documentation is like drug for me

edit :

Code:
 zpool create torrent c1t1d0p0

Code:
zfs set compression=on torrent

and that is hole story

Last edited by microbot; 07-28-2009 at 06:36 PM..
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

how to mount a hotswap scsi drive on a solaris 2.6 netra box using the mount command?

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)
Discussion started by: soulshaker
4 Replies

2. Solaris

How to mount USB driver in solaris 8?

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)
Discussion started by: kingsan
1 Replies

3. Filesystems, Disks and Memory

mount luns solaris

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)
Discussion started by: ludvig
1 Replies

4. Solaris

Solaris 10 does not mount CD/DVD ROM

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)
Discussion started by: afakhim
4 Replies

5. Solaris

How to mount linux to Solaris

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)
Discussion started by: SBatra
6 Replies

6. Solaris

How to mount a windows drive on Solaris..

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)
Discussion started by: sankasu
2 Replies

7. Solaris

USB Mount issue in Solaris 10

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)
Discussion started by: spavindla
2 Replies

8. Solaris

NFS mount on Solaris 8

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)
Discussion started by: snchaudhari2
7 Replies

9. Solaris

NFS mount from SCO to Solaris

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)
Discussion started by: maverick_here
5 Replies

10. UNIX for Beginners Questions & Answers

Help with cifs/smbfs mount on Solaris

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
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 );
	    }
       }

Files
See Also
       rz(4), disktab(5), fstab(5), chpt(8), diskpart(8), fsck(8), MAKEDEV(8), mkfs(8), tunefs(8)

								       RISC								   dkio(4)
All times are GMT -4. The time now is 09:55 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy