Hi Alain/All, 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.
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 ;-) 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: ######################### root@gearloose:~# pkg info -r ntfsprogs Name: system/file-system/ntfsprogs Summary: ntfsprogs - Utilities that provide access to NTFS Description: ntfsprogs are utilities that provide access to and manipulation of NTFS Category: System/Administration and Configuration State: Not installed Publisher: omnios Version: 2.0.0 Build Release: 5.11 Branch: 0.151004 Packaging Date: Thu Oct 11 22:43:21 2012 Size: 831.75 kB FMRI: pkg://omnios/system/file-system/[email protected],5.11-0.151004:20121011T224321Z ######################### I've also got "parted" from the main repo to help with reading the partition table, etc. After some Googling, I've found the following link: https://blogs.oracle.com/mandalika/entry/mounting_windows_ntfs_on_open 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 ;-) Continuing my research, I've found somebody that kept the files: http://aminsblog.wordpress.com/2012/05/22/mount-ntfs-in-solaris-11/ 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). Tried to install again "FSWfsmisc", it completed the install but in the end gave me libgcc_s_so.1 lib error. Just thought it worth to mention both packages here, since they're part of this project: http://mount-ntfs.sourceforge.net/ . It looks abandoned at the moment, so maybe somebody will find it interesting and useful. Also, more info here: http://belenix.sarovar.org/binfiles/README.FSWfsmisc.txt Here are both installed: ######################### fabior@gearloose:~$ pkginfo -l FSWfsmisc PKGINST: FSWfsmisc NAME: Miscellaneous filesystem support for OpenSolaris CATEGORY: system ARCH: i386 VERSION: 0.1 BASEDIR: / VENDOR: DESC: NFS server based read-only support for NTFS and EXT2FS on OpenSolaris PSTAMP: parnassus20060823173017 INSTDATE: Jan 03 2013 22:04 STATUS: completely installed FILES: 183 installed pathnames 43 directories 41 executables 21970 blocks used (approx) fabior@gearloose:~$ pkginfo -l FSWpart PKGINST: FSWpart NAME: x86 Partition Table Dumper CATEGORY: system ARCH: i386 VERSION: 0.1 BASEDIR: / VENDOR: DESC: Utility to display information about the x86 partition table PSTAMP: parnassus20060816210351 INSTDATE: Jan 03 2013 22:01 STATUS: completely installed FILES: 3 installed pathnames 2 executables 198 blocks used (approx) ######################### 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: lrwxrwxrwx 1 root root 24 Jan 3 22:04 libgcc_s.so -> ../sfw/lib/libgcc_s.so.1 lrwxrwxrwx 1 root root 24 Jan 3 22:04 libgcc_s.so.1 -> ../sfw/lib/libgcc_s.so.1 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 ;-) 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 ;-) 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!!! Cheers, Fabio ----- Ursprüngliche Nachricht ----- Von: Alain O'Dea Gesendet: 02.01.13 21:43 Uhr An: [email protected] Betreff: Re: [OmniOS-discuss] [smartos-discuss] Re: Mount NTFS USB under OmniOS 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. Do you foresee an continuous operational need for NTFS on this USB flash drive or just a one-time dump and reformat? Best, Alain On 2013-01-01, at 23:41, "Fabio Rodrigues" < [email protected] > wrote: Hi All, 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. 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. 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/ 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. Thanks a mill and Happy 2013!!! Cheers, Fabio ----- Ursprüngliche Nachricht ----- Von: Jay Fenton Gesendet: 30.12.12 14:27 Uhr An: [email protected] Betreff: Re: [OmniOS-discuss] [smartos-discuss] Re: Mount NTFS USB under OmniOS 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" < [email protected] > 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: > > [email protected] >> 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 >> [email protected] > > > > --- > Fabio Rodrigues > [email protected] > smartos-discuss | Archives | Modify Your Subscription _______________________________________________ OmniOS-discuss mailing list [email protected] http://lists.omniti.com/mailman/listinfo/omnios-discuss --- Fabio Rodrigues [email protected] *smartos-discuss* | Archives https://www.listbox.com/member/archive/184463/=now https://www.listbox.com/member/archive/rss/184463/23736926-be9f0783 | Modify https://www.listbox.com/member/?& Your Subscription http://www.listbox.com --- Fabio Rodrigues [email protected] ------------------------------------------- illumos-discuss Archives: https://www.listbox.com/member/archive/182180/=now RSS Feed: https://www.listbox.com/member/archive/rss/182180/21175430-2e6923be Modify Your Subscription: https://www.listbox.com/member/?member_id=21175430&id_secret=21175430-6a77cda4 Powered by Listbox: http://www.listbox.com
