http://www.softpanorama.org/Net/Application_layer/nfs.shtml
http://docs.sun.com/app/docs/doc/806-0916/6ja8539fj?l=en&a=view

/etc/init.d/nfs.server - run on source machine
Either run 'share' or edit /etc/dfstab with appropriate entry, run 'shareall'

/etc/init.d/nfs.client  - run this on NFS client (qemu)

When you mount, you can use /mnt as the mount point.



________________________________
From: hadi motamedi <[email protected]>
To: Solaris-Users mailing list <[email protected]>
Sent: Tue, July 13, 2010 5:52:02 AM
Subject: Re: [Solaris-Users] /dev/rdsk/c0t0d0s2 ?

On Tue, Jul 13, 2010 at 2:39 AM, JKim <[email protected]> wrote:

> c0t2d0s3 is a slice , not a disk.
>
> What do you mean by image?
>
> Why don't you just NFS mount the source /opt to qemu-system-sparc and just
> copy
> the contents to /opt?
>
>
>
> ________________________________
>
On my working solaris8 machine, its /opt resides on /c0t0d0s3 so I made an
image from it like the following :
#dd if=/dev/dsk/c0t0d0s3 bs=512 count=1966080 |gzip -c
>/tmp/opt8.disk-pt1.gz
#dd if=/dev/dsk/c0t0d0s3 bs=512 count=1966080 skip=1966080 |gzip -c
>/tmp/opt8.disk-pt1.gz
#dd if=/dev/dsk/c0t0d0s3 bs=512 count=1966080 skip=3932160 |gzip -c
>/tmp/opt8.disk-pt1.gz
#dd if=/dev/dsk/c0t0d0s3 bs=512 count=1966080 skip=5898240 |gzip -c
>/tmp/opt8.disk-pt1.gz
And so on.
At the end, I uncompressed all of them and concatenate as the following :
C:\copy /b opt8.disk-pt1+opt8.disk-pt2+opt8.disk-pt3+... opt8.disk
Then I had a 11.7GB opt8.disk so I imported it to my qemu-system-sparc with
the '-hdc opt8.disk' option . My qemu-system-sparc format command shows
three disks attached and I tried to manually mount the third slice on its
/opt.
The 'df -k' command output on qemu-system-sparc shows that its /opt is being
mounted on /c0t2d0s3 but it does not contain any data.
If you see logical error in my procedure, please do me favor and provide me
with reference link on how to accomplish your proposed NFS mounting the
source /opt to qemu-system-sparc and copying its contents?
Thank you
_______________________________________________
Solaris-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/solaris-users



      
_______________________________________________
Solaris-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/solaris-users

Reply via email to