69 lines
2.3 KiB
HTML
69 lines
2.3 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
|
|
<HTML>
|
|
<HEAD>
|
|
<META NAME="GENERATOR" CONTENT="SGML-Tools 1.0.9">
|
|
<TITLE>Linux+Solaris HOWTO: Sharing data</TITLE>
|
|
<LINK HREF="Linux+Solaris-7.html" REL=next>
|
|
<LINK HREF="Linux+Solaris-5.html" REL=previous>
|
|
<LINK HREF="Linux+Solaris.html#toc6" REL=contents>
|
|
</HEAD>
|
|
<BODY>
|
|
<A HREF="Linux+Solaris-7.html">Next</A>
|
|
<A HREF="Linux+Solaris-5.html">Previous</A>
|
|
<A HREF="Linux+Solaris.html#toc6">Contents</A>
|
|
<HR>
|
|
<H2><A NAME="sharing"></A> <A NAME="s6">6. Sharing data</A></H2>
|
|
|
|
<H2><A NAME="ss6.1">6.1 Using a shared partition</A>
|
|
</H2>
|
|
|
|
<P>If you have build your kernel with Sun disk label support
|
|
and UFS support as mentioned in section
|
|
<A HREF="Linux+Solaris-3.html#kernel">building your new kernel</A>, you are now able to
|
|
mount your Solaris partitions. During boot up, you should get
|
|
something similar to:
|
|
<PRE>
|
|
hda: [PTBL] [523/255/63] hda1 hda2 < hda5 hda6 hda7 hda8 > hda3 <Polaris: [s0]
|
|
hda9 [s1] hda10 [s2] hda11 [s3] hda12 [s6] hda13 [s7] hda14 >
|
|
</PRE>
|
|
|
|
Meaning (in this case): partition 3 (<CODE>hda3</CODE>) is a
|
|
Solaris partition with 6 slices (s0,s1,s2,s3,s6,s7). They
|
|
are mapped to Linux devices <CODE>hda9</CODE> to <CODE>hda14</CODE>.
|
|
<P>Try mounting your Solaris
|
|
partitions. When mounting UFS partitions, you always have to
|
|
add an <CODE>-oufstype=</CODE> argument, in this case
|
|
<CODE>-oufstype=sunx86</CODE>. So the command to mount a
|
|
partition is something like:
|
|
<PRE>
|
|
mount -oufstype=sunx86 /dev/hda14 /mnt
|
|
</PRE>
|
|
|
|
Now, test your partition. <EM>Please note: The write support
|
|
on UFS partitions is very experimental. Please don't trust
|
|
any data you write on your UFS partitions!</EM>
|
|
<P>If you want your Solaris partitions automatically mounted
|
|
at boot time, you can add a line like
|
|
<PRE>
|
|
/dev/hda14 /solaris ufs ufstype=sunx86 0 0
|
|
</PRE>
|
|
|
|
to your /etc/fstab
|
|
<H2><A NAME="ss6.2">6.2 Alternative ways</A>
|
|
</H2>
|
|
|
|
<P>And, of course there are always other ways of sharing
|
|
data:
|
|
<DL>
|
|
<DT><B>Floppy disk</B><DD><P>I don't know which floppy disk file systems are supported by
|
|
Solaris. Do you? Mail me.
|
|
<DT><B>Network</B><DD><P>Solaris knows NFS. Linux knows NFS. This might actually
|
|
be the best way of sharing data
|
|
</DL>
|
|
<HR>
|
|
<A HREF="Linux+Solaris-7.html">Next</A>
|
|
<A HREF="Linux+Solaris-5.html">Previous</A>
|
|
<A HREF="Linux+Solaris.html#toc6">Contents</A>
|
|
</BODY>
|
|
</HTML>
|