`<span style='font-family:Verdana'><span style='font-size:12px'><div>
Hi Alain/All,</div>
<div>
</div>
<div>
Well, I have about 4.2TB to copy (might have some redundant data that I'll find out soon), and I know I can copy over rsync, NFS or ssh and I'm not very concerned with the time it takes to be honest. </div>
<div>
</div>
<div>
The reason I've decided to send the e-mail is, first of all, to find out is there was a solution to natively support NTFS that I wasn't aware of and second, in case there was nothing there, to make an statement about the issue and that might be solved in the future (hopefully soon, rater than later). I don't believe I would be the only one to benefit from a proper solution, and that (IMHO) would be also great for OmniOS/illumos based distros ;-)</div>
<div>
</div>
<div>
Now, I've been trying a couple of things in the meantime as well. The package "ntfsprogs" (which is available in the main OmniOS repo) provides some utils and I was able to list the files on my USB device, but the mount option wasn't ported to OmniOS. Here is more info about the pkg:</div>
<div>
</div>
<div>
</div>
<div>
#########################</div>
<div>
</div>
<div>
root@gearloose:~# pkg info -r ntfsprogs</div>
<div>
Name: system/file-system/ntfsprogs</div>
<div>
Summary: ntfsprogs - Utilities that provide access to NTFS</div>
<div>
Description: ntfsprogs are utilities that provide access to and manipulation</div>
<div>
of NTFS</div>
<div>
Category: System/Administration and Configuration</div>
<div>
State: Not installed</div>
<div>
Publisher: omnios</div>
<div>
Version: 2.0.0</div>
<div>
Build Release: 5.11</div>
<div>
Branch: 0.151004</div>
<div>
Packaging Date: Thu Oct 11 22:43:21 2012</div>
<div>
Size: 831.75 kB</div>
<div>
FMRI: pkg://omnios/system/file-system/ntfsprogs@2.0.0,5.11-0.151004:20121011T224321Z</div>
<div>
</div>
<div>
#########################</div>
<div>
</div>
<div>
I've also got "parted" from the main repo to help with reading the partition table, etc.</div>
<div>
</div>
<div>
After some Googling, I've found the following link:</div>
<div>
</div>
<div>
https://blogs.oracle.com/mandalika/entry/mounting_windows_ntfs_on_open</div>
<div>
</div>
<div>
The solution points to two Benelix packages: FSWpart and FSWfsmisc, but the links are dead. It creates a NFS share from the NTFS partition and mount it on localhost (ok, ok, I think I still prefer the ntfs-3g ;-) </div>
<div>
</div>
<div>
Continuing my research, I've found somebody that kept the files:</div>
<div>
</div>
<div>
http://aminsblog.wordpress.com/2012/05/22/mount-ntfs-in-solaris-11/</div>
<div>
</div>
<div>
The packages were a bit old, but taking the risk I've downloaded the packages and gave it a go. Using the pkgadd, "FSWpart" installed with no problem but "FSWfsmisc" conflicted with some ntfsprogs binaries (as pointed in both blogs), so I didn't accept the binaries replacement and found it better to remove parted and ntfsprogs (interdependent somehow).</div>
<div>
<br />
Tried to install again "FSWfsmisc", it completed the install but in the end gave me libgcc_s_so.1 lib error.</div>
<div>
<br />
Just thought it worth to mention both packages here, since they're part of this project: <a href="http://mount-ntfs.sourceforge.net/">http://mount-ntfs.sourceforge.net/</a>. It looks abandoned at the moment, so maybe somebody will find it interesting and useful. Also, more info here: <a href="http://belenix.sarovar.org/binfiles/README.FSWfsmisc.txt">http://belenix.sarovar.org/binfiles/README.FSWfsmisc.txt</a></div>
<div>
<br />
Here are both installed:</div>
<div>
</div>
<div>
#########################</div>
<div>
</div>
<div>
fabior@gearloose:~$ pkginfo -l FSWfsmisc</div>
<div>
PKGINST: FSWfsmisc</div>
<div>
NAME: Miscellaneous filesystem support for OpenSolaris</div>
<div>
CATEGORY: system</div>
<div>
ARCH: i386</div>
<div>
VERSION: 0.1</div>
<div>
BASEDIR: /</div>
<div>
VENDOR: </div>
<div>
DESC: NFS server based read-only support for NTFS and EXT2FS on OpenSolaris</div>
<div>
PSTAMP: parnassus20060823173017</div>
<div>
INSTDATE: Jan 03 2013 22:04</div>
<div>
STATUS: completely installed</div>
<div>
FILES: 183 installed pathnames</div>
<div>
43 directories</div>
<div>
41 executables</div>
<div>
21970 blocks used (approx)</div>
<div>
</div>
<div>
fabior@gearloose:~$ pkginfo -l FSWpart </div>
<div>
PKGINST: FSWpart</div>
<div>
NAME: x86 Partition Table Dumper</div>
<div>
CATEGORY: system</div>
<div>
ARCH: i386</div>
<div>
VERSION: 0.1</div>
<div>
BASEDIR: /</div>
<div>
VENDOR: </div>
<div>
DESC: Utility to display information about the x86 partition table</div>
<div>
PSTAMP: parnassus20060816210351</div>
<div>
INSTDATE: Jan 03 2013 22:01</div>
<div>
STATUS: completely installed</div>
<div>
FILES: 3 installed pathnames</div>
<div>
2 executables</div>
<div>
198 blocks used (approx)</div>
<div>
</div>
<div>
#########################</div>
<div>
</div>
<div>
The lib error was affecting (obviously) other programs as well, like grep, wget and so on. So after some troubleshooting (ldd -s /usr/gnu/bin/grep, dump -Lv /usr/gnu/bin/grep, etc), found out that the FSWfsmisc install chopped my "libgcc_s.so.1" and replaced with the following symlink:</div>
<div>
</div>
<div>
lrwxrwxrwx 1 root root 24 Jan 3 22:04 libgcc_s.so -> ../sfw/lib/libgcc_s.so.1</div>
<div>
lrwxrwxrwx 1 root root 24 Jan 3 22:04 libgcc_s.so.1 -> ../sfw/lib/libgcc_s.so.1</div>
<div>
</div>
<div>
There were no libs files under "../sfw/lib/", and I couldn't find the "libgcc_s.so.1" anywhere!!! Panic station for a few secs, then I powered up an OmniOS VM I have on my Fedora laptop and scp the lib from there to my server and reacreate the "libgcc_s.so" symlink point to it. Everything working again ;-)</div>
<div>
</div>
<div>
Now, after all installed, I've manage to mount the ntfs partition (mount -F ntfs -o ro /dev/dsk/c0t0d0p0 /mnt/usb), so voila!!! I could access the files....for a few mins! When I've tried to rsync the files to a local directory, the NFS server kept timing out, so it's impossible to use... oh well, that was the closest I could get from it ;-)</div>
<div>
</div>
<div>
Sorry for the long e-mail... The next thing I will try is to remove those 2 packages, reinstall ntfsprogs and parted (I like them) and give it a go with Jean-Pierre solution for OpenIndiana (http://jp-andre.pagesperso-orange.fr/openindiana-ntfs-3g.html). I'm just learning and I don't mind in case I'll need to reinstall my server, since I have no data there yet. Good to have the good old Solaris stability feeling!!!</div>
<div>
</div>
<div>
Cheers,</div>
<div>
Fabio</div>
<br />
<br />
<blockquote style="border-left: 1px solid #CCC; padding-left: 5px; margin-left: 5px; margin-bottom: 0px; margin-top: 0px; margin-right: 0px;" type="cite">
<p style="margin:0px; padding:0px;" >
<span style="font-family:Verdana"><span style="font-size:12px">----- Ursprüngliche Nachricht -----</span></span></p>
<p style="margin:0px; padding:0px;" >
<span style="font-family:Verdana"><span style="font-size:12px">Von: Alain O'Dea</span></span></p>
<p style="margin:0px; padding:0px;" >
<span style="font-family:Verdana"><span style="font-size:12px">Gesendet: 02.01.13 21:43 Uhr</span></span></p>
<p style="margin:0px; padding:0px;" >
<span style="font-family:Verdana"><span style="font-size:12px">An: smartos-discuss@lists.smartos.org</span></span></p>
<p style="margin:0px; padding:0px;" >
<span style="font-family:Verdana"><span style="font-size:12px">Betreff: Re: [OmniOS-discuss] [smartos-discuss] Re: Mount NTFS USB under OmniOS</span></span></p>
<br />
<div>
<div>
Fabio, I may be oversimplifying here, but have you considered mounting it on Linux and then using rsync over ssh to copy the contents. On a gigabit LAN I don't imagine it would be noticeably slower than direct access. It should take under four hours to copy. USB is slow.</div>
<div>
</div>
<div>
Do you foresee an continuous operational need for NTFS on this USB flash drive or just a one-time dump and reformat?</div>
<div>
</div>
<div>
Best,</div>
<div>
Alain<br />
<br />
On 2013-01-01, at 23:41, "Fabio Rodrigues" <<a href="mailto:fabior@gmx.net">fabior@gmx.net</a>> wrote:<br />
</div>
<blockquote type="cite">
<div>
<span style="font-family:Verdana"><span style="font-size:12px">Hi All,<br />
<br />
Thanks for all the answers. We got some very valid suggestions as the one below from you Jay, but I must say I'm not very comfortable (not technically) with it. I believe, as per Jim Klimov and Ken Mays replies, we should have a proper solution on OmniOS.<br />
<br />
Please, don't understand me wrong and I know very well that is easier to say than do, but maybe if there's somebody in the community willing to port fuse and ntfs-3g to OmniOS (if that would be the best solution, I don't know...) and add to the official repo, I'm sure it would be a great addition and can be added to the list of supported features. <br />
<br />
I think that OmniOS is an outstanding OS and rock solid, as all the others illumos/OpenSolaris based ones!!! I really hope that the repos will be more rich in time, even though I like the minimalistic approach for now/<br />
<br />
I might try to copy all the data I have from a laptop running Linux and upload to my server via NFS, but I don't consider this thread closed and I would like to hear more about in case somebody else want to collaborate with this issue.<br />
<br />
Thanks a mill and Happy 2013!!!<br />
<br />
Cheers,<br />
Fabio</span></span><br />
<p style="margin:0px; padding:0px; margin:0px; padding:0px;">
<span style="font-family:Verdana"><span style="font-size:12px"> </span></span></p>
<blockquote style="border-left: 1px solid #CCC; padding-left: 5px; margin-left: 5px; margin-bottom: 0px; margin-top: 0px; margin-right: 0px;" type="cite">
<p style="margin:0px; padding:0px; margin:0px; padding:0px;">
<span style="font-family:Verdana"><span style="font-size:12px"><span style="font-family:Verdana"><span style="font-size:12px">----- Ursprüngliche Nachricht -----</span></span></span></span></p>
<p style="margin:0px; padding:0px; margin:0px; padding:0px;">
<span style="font-family:Verdana"><span style="font-size:12px"><span style="font-family:Verdana"><span style="font-size:12px">Von: Jay Fenton</span></span></span></span></p>
<p style="margin:0px; padding:0px; margin:0px; padding:0px;">
<span style="font-family:Verdana"><span style="font-size:12px"><span style="font-family:Verdana"><span style="font-size:12px">Gesendet: 30.12.12 14:27 Uhr</span></span></span></span></p>
<p style="margin:0px; padding:0px; margin:0px; padding:0px;">
<span style="font-family:Verdana"><span style="font-size:12px"><span style="font-family:Verdana"><span style="font-size:12px">An: <a href="mailto:smartos-discuss@lists.smartos.org">smartos-discuss@lists.smartos.org</a></span></span></span></span></p>
<p style="margin:0px; padding:0px; margin:0px; padding:0px;">
<span style="font-family:Verdana"><span style="font-size:12px"><span style="font-family:Verdana"><span style="font-size:12px">Betreff: Re: [OmniOS-discuss] [smartos-discuss] Re: Mount NTFS USB under OmniOS</span></span></span></span></p>
<div>
<div>
<pre style="white-space: pre-wrap; word-wrap: break-word; font-size:11;white-space: pre-wrap; word-wrap: break-word; font-size:11;pre">
<span style="font-family:Verdana"><span style="font-size:12px">
Hi Fabio,
I'd suggest the easiest (and I use the term loosely) way to do this
would be to bring up a Linux VM and, assuming it's supported, pass
the raw USB device through to it. You can then mount your zpool via
NFS from the global zone.
I'm using SmartOS, and vmadm(1m) seems to imply that the -usb and
-usbdevice are supported through qemu_opts. I'm not sure what value
you would use for -usbdevice as it's normally host:VendorID:ProductID,
and normally you can find these from /sbin/lsusb on Linux - not sure
of the equivalent in Solaris land.
Hope that helps.
Best Regards,
Jay Fenton
On 30 Dec 2012, at 20:46, "Fabio Rodrigues" <<a href="mailto:fabior@gmx.net">fabior@gmx.net</a>> wrote:
> Hi All,
>
> Sorry for the "SPAM" to the other lists, but I'm just trying to find a solution for this. I didn't want to compile a ntfs-3g module on my machine, because maybe there's already something ready for it.
>
> I believe this would be useful not only for NTFS USBs, but for any kind.
>
> Any help will be appreciated ;-)
>
> Cheers,
> Fabio
>
>
>> ----- Ursprüngliche Nachricht -----
>> Von: Fabio Rodrigues
>> Gesendet: 25.12.12 01:32 Uhr
>> An: <a href="mailto:omnios-discuss@lists.omniti.com">omnios-discuss@lists.omniti.com</a>
>> Betreff: Mount NTFS USB under OmniOS
>> Hi All,
>>
>> First of all, I've been using OmniOS stable Home for the last few weeks on a HP Microserver NL36 (8GB RAM). It's performing very well, but I'm still getting used with the OS. I've been using Solaris for a good few years so I'm not that rusty...
>>
>> Now, I was trying to find out how to mount the USB (Iomega eGo 500GB, NTFS), but there's no guidelines on how to make my life easier. The intention is to mount some of my USB devices and copy the data to my zpool.
>>
>> If any of you could help me with some guides and also if there's any option to add it as an automount (kind of like Linux does), let me know please.
>>
>> Thank you very much in advance and Happy Xmas ;-)
>>
>> Cheers,
>>
>> ---
>> Fabio Rodrigues
>> <a href="mailto:fabior@gmx.net">fabior@gmx.net</a>
>
>
>
> ---
> Fabio Rodrigues
> <a href="mailto:fabior@gmx.net">fabior@gmx.net</a>
> smartos-discuss | Archives | Modify Your Subscription
_______________________________________________
OmniOS-discuss mailing list
<a href="mailto:OmniOS-discuss@lists.omniti.com">OmniOS-discuss@lists.omniti.com</a>
<a href="http://lists.omniti.com/mailman/listinfo/omnios-discuss">http://lists.omniti.com/mailman/listinfo/omnios-discuss</a></span></span></pre>
</div>
</div>
</blockquote>
<p style="margin:0px; padding:0px; margin:0px; padding:0px;">
<span style="font-family:Verdana"><span style="font-size:12px"> <br />
<br />
<br />
<span><span style="font-family:Verdana; font-size:12px">---<br />
Fabio Rodrigues<br />
<a href="mailto:fabior@gmx.net">fabior@gmx.net</a></span></span></span></span></p>
<div style="width:auto;margin:0;padding:5px;background-color:#fff;clear:both;border-top: 1px solid #ccc;">
<table bgcolor="#ffffff" border="0" cellpadding="0" cellspacing="0" style="background-color:#fff" width="100%">
<tbody>
<tr>
<td>
<span style="font-family:Verdana"><span style="font-size:12px"><font color="#333333" size="1" style="font-family:helvetica, sans-serif;"><strong>smartos-discuss</strong> | <a href="https://www.listbox.com/member/archive/184463/=now" style="text-decoration:none;color:#669933;border-bottom: 1px solid #444444" title="Go to archives for smartos-discuss">Archives</a> <a href="https://www.listbox.com/member/archive/rss/184463/23736926-be9f0783" style="text-decoration:none;color:#669933" title="RSS feed for smartos-discuss"><img border="0" src="http://postlink.www.listbox.com/1383803/833487e62783d55fe81f119fb93ef644/23736926/80f60ebd.jpg?uri=aHR0cHM6Ly93d3cubGlzdGJveC5jb20vaW1hZ2VzL2ZlZWQtaWNvbi0xMHgxMC5qcGc" /></a> | <a href="https://www.listbox.com/member/?member_id=23736926&id_secret=23736926-fd191a53" style="text-decoration:none;color:#669933;border-bottom: 1px solid #444444" title="">Modify</a> Your Subscription</font></span></span></td>
<td align="right" valign="top">
<span style="font-family:Verdana"><span style="font-size:12px"><a href="http://www.listbox.com" style="border-bottom:none;"><img border="0" src="http://postlink.www.listbox.com/1383804/3379085af0f1cf7fc3708f04b4471ae2/23736926/80f60ebd.png?uri=aHR0cHM6Ly93d3cubGlzdGJveC5jb20vaW1hZ2VzL2xpc3Rib3gtbG9nby1zbWFsbC5wbmc" title="Powered by Listbox" /></a></span></span></td>
</tr>
</tbody>
</table>
</div>
</div>
</blockquote>
</div>
</blockquote>
<p style="margin:0px; padding:0px;" >
</p>
<br />
<br />
<br />
<span id="editor_signature"><span style="font-family:Verdana; font-size:12px">---<br />
Fabio Rodrigues<br />
fabior@gmx.net</span></span></span></span>
`