Mailinglist Archive: opensuse (1695 mails)
|< Previous||Next >|
Re: [opensuse] mounting a Solaris UFS disk on a SuSE 11.1 system
- From: "Brian K. White" <brian@xxxxxxxxx>
- Date: Mon, 06 Jul 2009 18:05:49 -0400
- Message-id: <4A52753D.80703@xxxxxxxxx>
Damon Register wrote:
James Knott wrote:
Why not make it an NFS share and copy across the network? I believeI have thought about that and with gigabit net cards it might not be so
Solaris supports NFS. ;-)
painful but right now I don't have another Solaris computer to temporarily
host the drive. If I don't find an easy UFS mount method for SuSE, I may
resort to the NFS method.
I don't understand the problem, unless you haven't actually tried it and simply don't realise there is no problem?
These days linux most distros, including opensuse 11.1 supports both the ufs filesystem and more importantly the disk partitioning scheme out of the box. You _might_ need to manually modprobe one or more kernel modules, though I think udev loads everything necessary automagically when it first detects the disk, but even if not, at the very least I know all necessary modules are there.
The only other thing even slightly like a problem or a difficulty is you may have to trial & error a few times to pick the right mount option to choose the right flavor of "UFS" between several sun and bsd variants.
Last time I did this, it was recent enough that the receiving machine was opensuse 11.1 x86_64, the supplying machine was solaris-9-sparc. On the solaris side the filesystem was just the default filesystem, as in mkfs with no options. Although I had to google a little and consult man a little and trial & error a little, all in all it was still straightforward and uneventful enough that I didn't bother remembering or recording the exact details once I worked it out, meaning it would be simpler to just look it up again on-demand and it required no non-stock stuff like downloading special versions of mount or compiling a new kernel with different config options enabled, etc.
So in other words, in the words of a terrific developer I know who's absolutely perfect answer to many questions is: "What happened when you tried it?"
If it's the same physical server which you don't want to risk until after you know for sure how it all works, then just boot a live-cd and try it that way. If the sun box is new enough to have a usb 2.0 port then another way to go is to connect a generic usb hd, mkfs the whole-drive device with no options, mount, rsync, umount, connect to linux, mount, rsync. That may or may not be faster than rsync over gigabit, but it's at least safe and leaves you with a portable backup copy if you want it.
Get nice easy pkgadd packages for rsync and any required support libs for your version of solaris from sunfreeware.
I avoid the pkg-get script, I just download, gunzip and pkgadd the packages manually, but that's just me.
I wouldn't use nfs but that's also just me.
If you had a usb hd you could also just write a raw tar or cpio directly to the whole drive device and don't even worry about any kind of filesystem if there was actually a filesystem problem, but since linux has no problem reading a solaris ufs filesystem, a filesystem IS a lot more handy to deal with than a big cpio disk. Just pointing out you have other pretty easy options no matter what so you don't have to worry about not being able to do your move.
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
|< Previous||Next >|