Re: [osol-discuss] USB drive for Linux -> OS migration: file system?
"Shawn Walker" <[EMAIL PROTECTED]> wrote: > >> Not the Solaris ufs at last check -- just ufs as seen in older BSDs. > > > > Yes the Linux ufs module does support Solaris ufs: mount -o ufstype=sunx86 > > I used it regularly in Ubuntu to access data from the Nevada partition. > > However Ubuntu only enables read-only support. Write support is > > experimental. > > Maybe it's ufs2 I'm thinking of... UFS2 is a halfway made 64 bit variant of UFS. It is definitely too different from UFS to be usable on Solaris. Jörg -- EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin [EMAIL PROTECTED](uni) [EMAIL PROTECTED] (work) Blog: http://schily.blogspot.com/ URL: http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] USB drive for Linux -> OS migration: file system?
On Fri, Jun 27, 2008 at 9:13 PM, Shawn Walker <[EMAIL PROTECTED]> wrote: > 2008/6/27 Moinak Ghosh <[EMAIL PROTECTED]>: > > On Fri, Jun 27, 2008 at 11:35 PM, Shawn Walker <[EMAIL PROTECTED]> > wrote: > >> 2008/6/27 W. Wayne Liauh <[EMAIL PROTECTED]>: > Folks; > > another migration-related question: I do have a > fairly well sized USB > drive to hold data so far to share between Linux, > Windows and > OpenSolaris, thus the lowest common denominator (in > terms of file > systems) being FAT32. Taken into account I do have > also to backup a few > VirtualBox images (which are larger than FAT32 > allows), I will have to > reformat this drive anyhow, so my question: What kind > of file system > would suit best the need of being written to in Linux > _and_ read from in > OpenSolaris? (This is just for the migration of > config and some data > indeed, I'll have to go for FAT32 again after for the > Windows situations > anyhow...). > > Comments, anyone? > TIA and best regards, > Kristian > > -- > Kristian Rink * http://zimmer428.net * > http://flickr.com/photos/z428/ > jab: [EMAIL PROTECTED] * icq: 48874445 * fon: ++49 > 176 2447 2771 > >>> > >>> Can't you format your USB stick in ufs2? I believe most Linux distros > can read and write ufs partitions. Correct? > >> > >> Not the Solaris ufs at last check -- just ufs as seen in older BSDs. > > > > Yes the Linux ufs module does support Solaris ufs: mount -o > ufstype=sunx86 > > I used it regularly in Ubuntu to access data from the Nevada partition. > > However Ubuntu only enables read-only support. Write support is > experimental. > > Maybe it's ufs2 I'm thinking of... > > Thanks for the note Moinak. > > -- > Shawn Walker > ___ > opensolaris-discuss mailing list > opensolaris-discuss@opensolaris.org > Hi, I thought I'd add my 2c worth here :-) I am having much success using ZFS in a shared pool, using zfs-fuse under Linux - I have described the process on my blog. The same pool is mounted when I boot in Nevada or Ubuntu. This does not support your MS Windows requirement though. I'd say NTFS best suits your requirements for writing from Linux, readable from Windows and Solaris, and supporting large files, though getting the NTFS file mounted under Solaris may not be trivial. A google search finds many blog entries, etc so I'm sure this can be done. For a once off transfer from Linux to Solaris, I agree that using a hard drive in RAW mode might be the simplest. However I would use cpio rather than tar: To create the backup from Linux, do find /export/home -depth | cpio -o > /dev/sdb1 To restore from this backup, under Solaris cd /export/home; cpio -idm /dev/dsk/c2d0p1 Where c2d0p1 and sdb1 in the commands above must be replaced with whatever is relevant on your system. Cheers, _J -- Any sufficiently advanced technology is indistinguishable from magic. Arthur C. Clarke Afrikaanse Stap Website: http://www.bloukous.co.za My blog: http://initialprogramload.blogspot.com ICQ = 193944626 YahooIM = johan_hartzenberg GoogleTalk = [EMAIL PROTECTED] ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] USB drive for Linux -> OS migration: file system?
2008/6/27 Moinak Ghosh <[EMAIL PROTECTED]>: > On Fri, Jun 27, 2008 at 11:35 PM, Shawn Walker <[EMAIL PROTECTED]> wrote: >> 2008/6/27 W. Wayne Liauh <[EMAIL PROTECTED]>: Folks; another migration-related question: I do have a fairly well sized USB drive to hold data so far to share between Linux, Windows and OpenSolaris, thus the lowest common denominator (in terms of file systems) being FAT32. Taken into account I do have also to backup a few VirtualBox images (which are larger than FAT32 allows), I will have to reformat this drive anyhow, so my question: What kind of file system would suit best the need of being written to in Linux _and_ read from in OpenSolaris? (This is just for the migration of config and some data indeed, I'll have to go for FAT32 again after for the Windows situations anyhow...). Comments, anyone? TIA and best regards, Kristian -- Kristian Rink * http://zimmer428.net * http://flickr.com/photos/z428/ jab: [EMAIL PROTECTED] * icq: 48874445 * fon: ++49 176 2447 2771 >>> >>> Can't you format your USB stick in ufs2? I believe most Linux distros can >>> read and write ufs partitions. Correct? >> >> Not the Solaris ufs at last check -- just ufs as seen in older BSDs. > > Yes the Linux ufs module does support Solaris ufs: mount -o ufstype=sunx86 > I used it regularly in Ubuntu to access data from the Nevada partition. > However Ubuntu only enables read-only support. Write support is > experimental. Maybe it's ufs2 I'm thinking of... Thanks for the note Moinak. -- Shawn Walker ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] USB drive for Linux -> OS migration: file system?
On Fri, Jun 27, 2008 at 11:35 PM, Shawn Walker <[EMAIL PROTECTED]> wrote: > 2008/6/27 W. Wayne Liauh <[EMAIL PROTECTED]>: >>> Folks; >>> >>> another migration-related question: I do have a >>> fairly well sized USB >>> drive to hold data so far to share between Linux, >>> Windows and >>> OpenSolaris, thus the lowest common denominator (in >>> terms of file >>> systems) being FAT32. Taken into account I do have >>> also to backup a few >>> VirtualBox images (which are larger than FAT32 >>> allows), I will have to >>> reformat this drive anyhow, so my question: What kind >>> of file system >>> would suit best the need of being written to in Linux >>> _and_ read from in >>> OpenSolaris? (This is just for the migration of >>> config and some data >>> indeed, I'll have to go for FAT32 again after for the >>> Windows situations >>> anyhow...). >>> >>> Comments, anyone? >>> TIA and best regards, >>> Kristian >>> >>> -- >>> Kristian Rink * http://zimmer428.net * >>> http://flickr.com/photos/z428/ >>> jab: [EMAIL PROTECTED] * icq: 48874445 * fon: ++49 >>> 176 2447 2771 >> >> Can't you format your USB stick in ufs2? I believe most Linux distros can >> read and write ufs partitions. Correct? > > Not the Solaris ufs at last check -- just ufs as seen in older BSDs. Yes the Linux ufs module does support Solaris ufs: mount -o ufstype=sunx86 I used it regularly in Ubuntu to access data from the Nevada partition. However Ubuntu only enables read-only support. Write support is experimental. Regards, Moinak. > > > -- > Shawn Walker > ___ > opensolaris-discuss mailing list > opensolaris-discuss@opensolaris.org > ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] USB drive for Linux -> OS migration: file system?
> Not the Solaris ufs at last check -- just ufs as seen > in older BSDs. > > -- > Shawn Walker I take it that Solaris won't r/w the BSD-ufs? This message posted from opensolaris.org ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] USB drive for Linux -> OS migration: file system?
2008/6/27 W. Wayne Liauh <[EMAIL PROTECTED]>: >> Folks; >> >> another migration-related question: I do have a >> fairly well sized USB >> drive to hold data so far to share between Linux, >> Windows and >> OpenSolaris, thus the lowest common denominator (in >> terms of file >> systems) being FAT32. Taken into account I do have >> also to backup a few >> VirtualBox images (which are larger than FAT32 >> allows), I will have to >> reformat this drive anyhow, so my question: What kind >> of file system >> would suit best the need of being written to in Linux >> _and_ read from in >> OpenSolaris? (This is just for the migration of >> config and some data >> indeed, I'll have to go for FAT32 again after for the >> Windows situations >> anyhow...). >> >> Comments, anyone? >> TIA and best regards, >> Kristian >> >> -- >> Kristian Rink * http://zimmer428.net * >> http://flickr.com/photos/z428/ >> jab: [EMAIL PROTECTED] * icq: 48874445 * fon: ++49 >> 176 2447 2771 > > Can't you format your USB stick in ufs2? I believe most Linux distros can > read and write ufs partitions. Correct? Not the Solaris ufs at last check -- just ufs as seen in older BSDs. -- Shawn Walker ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] USB drive for Linux -> OS migration: file system?
> Folks; > > another migration-related question: I do have a > fairly well sized USB > drive to hold data so far to share between Linux, > Windows and > OpenSolaris, thus the lowest common denominator (in > terms of file > systems) being FAT32. Taken into account I do have > also to backup a few > VirtualBox images (which are larger than FAT32 > allows), I will have to > reformat this drive anyhow, so my question: What kind > of file system > would suit best the need of being written to in Linux > _and_ read from in > OpenSolaris? (This is just for the migration of > config and some data > indeed, I'll have to go for FAT32 again after for the > Windows situations > anyhow...). > > Comments, anyone? > TIA and best regards, > Kristian > > -- > Kristian Rink * http://zimmer428.net * > http://flickr.com/photos/z428/ > jab: [EMAIL PROTECTED] * icq: 48874445 * fon: ++49 > 176 2447 2771 Can't you format your USB stick in ufs2? I believe most Linux distros can read and write ufs partitions. Correct? This message posted from opensolaris.org ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] USB drive for Linux -> OS migration: file system?
On Thu, Jun 26, 2008 at 8:38 AM, Kristian Rink <[EMAIL PROTECTED]> wrote: > Folks; > > another migration-related question: I do have a fairly well sized USB > drive to hold data so far to share between Linux, Windows and > OpenSolaris, thus the lowest common denominator (in terms of file > systems) being FAT32. Taken into account I do have also to backup a few > VirtualBox images (which are larger than FAT32 allows), I will have to > reformat this drive anyhow, so my question: What kind of file system > would suit best the need of being written to in Linux _and_ read from in > OpenSolaris? (This is just for the migration of config and some data > indeed, I'll have to go for FAT32 again after for the Windows situations > anyhow...). Perhaps ntfs, likely with the help of FUSE on Solaris & Linux. http://www.opensolaris.org/jive/thread.jspa?threadID=60471&tstart=0 http://www.ntfs-3g.org/ -- Mike Gerdts http://mgerdts.blogspot.com/ ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] USB drive for Linux -> OS migration: file system?
On Fri, Jun 27, 2008 at 1:18 PM, Richard L. Hamilton <[EMAIL PROTECTED]> wrote: >> Paul Gress <[EMAIL PROTECTED]> wrote: >> >> > You could try the Universal Disk Format (UDF). I >> believe all three >> > platforms should support it. Check into this. To get from a Linux machine to OpenSolaris or Solaris, with no data loss at all, I do the following : 1 ) on the linux machine you get a decent copy of GCC 2 ) you get the sources for smake and star 2.1) for smake see ftp://ftp.berlios.de/pub/smake/alpha/AN-1.2a41 get source at ftp://ftp.berlios.de/pub/smake/alpha/smake-1.2a41.tar.bz2 2.2) for star please see ftp://ftp.berlios.de/pub/star/AN-1.5 get source to star 1.5 at : ftp://ftp.berlios.de/pub/star/star-1.5.tar.bz2 3) climb into the source tree for smake and check for a file called defaults.linux or similar. In there you will find the installation directory for the final binary and man pages etc. Change that to point to $HOME/local or don't change it at all. You can choose what to do yourself but you will need the smake binary. 4) set CC=gcc and then simply run make , that should build smake for you 5) if you are okay with the installation directory defaults then type make install 6) depending on what you did in (5) simply locate the binary smake and drop it in your PATH somehow. You need it. 7) extract the sources for star and then check for the defaults.linux file again. Make changes as needed. 8) run smake 9) when that is done you now have star on your linux machine, like so [EMAIL PROTECTED]:~$ which star /home/dclarke/local/bin/star [EMAIL PROTECTED]:~$ star --version star: star 1.5a88 (powerpc-unknown-linux-gnu) Copyright (C) 1985, 88-90, 92-96, 98, 99, 2000-2008 Jörg Schilling This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. [EMAIL PROTECTED]:~$ 10) make a FAT32 filesystem on that USB key because you can read that from either Solaris or Linux just fine. However FAT32 will not store all the metadata or even the data that you need from your ext2fs ( or whatever ) Linux based filesystems. 11) use star to make a dump of the stuff you want ot backup like so star -c -v -p -acl -sparse -dump -C $SOURCE_DIRECTORY . file=$TARGET_FILE When you get to Solaris just use star to extract everything with star -x file=$TARGET_FILE That should work flawlessly Dennis ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] USB drive for Linux -> OS migration: file system?
"Richard L. Hamilton" <[EMAIL PROTECTED]> wrote: > > UDF file systems as written by mkisofs (and thus > > unchangeable) can be read by > > all platforms but once you start to use writable UDF, > > compatibility usually > > ends. > > > > Jörg > > > > Is the specification too immature or incomplete (or in too > many versions), or are the implementations non-compliant? If I did know this, it would be easier to create test cases. In any case, the Sun implementation would need a major rewrite in order to support the 2.x version of UDF. Solaris currently ony supports 1.5 Jörg -- EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin [EMAIL PROTECTED](uni) [EMAIL PROTECTED] (work) Blog: http://schily.blogspot.com/ URL: http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] USB drive for Linux -> OS migration: file system?
> Paul Gress <[EMAIL PROTECTED]> wrote: > > > You could try the Universal Disk Format (UDF). I > believe all three > > platforms should support it. Check into this. > > Sure? > > Did you verify that? > > > UDF file systems as written by mkisofs (and thus > unchangeable) can be read by > all platforms but once you start to use writable UDF, > compatibility usually > ends. > > Jörg > Is the specification too immature or incomplete (or in too many versions), or are the implementations non-compliant? This message posted from opensolaris.org ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] USB drive for Linux -> OS migration: file system?
Paul Gress <[EMAIL PROTECTED]> wrote: > You could try the Universal Disk Format (UDF). I believe all three > platforms should support it. Check into this. Sure? Did you verify that? UDF file systems as written by mkisofs (and thus unchangeable) can be read by all platforms but once you start to use writable UDF, compatibility usually ends. Jörg -- EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin [EMAIL PROTECTED](uni) [EMAIL PROTECTED] (work) Blog: http://schily.blogspot.com/ URL: http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] USB drive for Linux -> OS migration: file system?
Paul Gress schrieb: > You could try the Universal Disk Format (UDF). I believe all three > platforms should support it. Check into this. Hmmm, interesting idea... I haven't so far bothered even dealing with it as I just happened to know UDF in relation to any kind of recordable media, but reading a little deeper into it, this seems an interesting idea worth at least giving a try. Thanks a bunch. :) Cheers, Kristian -- Kristian Rink * http://zimmer428.net * http://flickr.com/photos/z428/ jab: [EMAIL PROTECTED] * icq: 48874445 * fon: ++49 176 2447 2771 "One dreaming alone, it will be only a dream; many dreaming together is the beginning of a new reality." (Hundertwasser) ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] USB drive for Linux -> OS migration: file system?
Kristian Rink wrote: > Folks; > > another migration-related question: I do have a fairly well sized USB > drive to hold data so far to share between Linux, Windows and > OpenSolaris, thus the lowest common denominator (in terms of file > systems) being FAT32. Taken into account I do have also to backup a few > VirtualBox images (which are larger than FAT32 allows), I will have to > reformat this drive anyhow, so my question: What kind of file system > would suit best the need of being written to in Linux _and_ read from in > OpenSolaris? (This is just for the migration of config and some data > indeed, I'll have to go for FAT32 again after for the Windows situations > anyhow...). > > Comments, anyone? > TIA and best regards, > Kristian > > You could try the Universal Disk Format (UDF). I believe all three platforms should support it. Check into this. Paul ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] USB drive for Linux -> OS migration: file system?
Frank; [EMAIL PROTECTED] schrieb: > In that case, I'd use "star" to write directly to the media, i.e. create > an empty/unused primary partition on the drive (what'd be /dev/hd.X, 1 <= indeed sounds reasonable, I completely forgot about the idea of directly dumping things to the drive without getting it some way "formatted". Thanks for pointing me there. :) Cheers, Kristian ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] USB drive for Linux -> OS migration: file system?
On Thu, 26 Jun 2008, Kristian Rink wrote: > Folks; > > another migration-related question: I do have a fairly well sized USB > drive to hold data so far to share between Linux, Windows and > OpenSolaris, thus the lowest common denominator (in terms of file > systems) being FAT32. Taken into account I do have also to backup a few > VirtualBox images (which are larger than FAT32 allows), I will have to > reformat this drive anyhow, so my question: What kind of file system > would suit best the need of being written to in Linux _and_ read from in > OpenSolaris? (This is just for the migration of config and some data > indeed, I'll have to go for FAT32 again after for the Windows situations > anyhow...). In that case, I'd use "star" to write directly to the media, i.e. create an empty/unused primary partition on the drive (what'd be /dev/hd.X, 1 <= X <= 4, on Linux, and /dev/dsk/...p[1-4] on Solaris), and then do: cd /dir-to-backup-from; star cvf /dev/dsk/hde2 . on Linux, and cd /dir-to-restore-in; star xvf /dev/dsk/c...p2 on Solaris to extract it. That's capable of >4GB files, UNIX permissions, long filenames, ... - for a simple data transfer/copy, it's also much faster than FAT32. FrankH. > > Comments, anyone? > TIA and best regards, > Kristian > > -- > Kristian Rink * http://zimmer428.net * http://flickr.com/photos/z428/ > jab: [EMAIL PROTECTED] * icq: 48874445 * fon: ++49 176 2447 2771 "One > dreaming alone, it will be only a dream; many dreaming together is the > beginning of a new reality." (Hundertwasser) > > ___ > opensolaris-discuss mailing list > opensolaris-discuss@opensolaris.org > -- No good can come from selling your freedom, not for all the gold in the world, for the value of this heavenly gift far exceeds that of any fortune on earth. -- ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
[osol-discuss] USB drive for Linux -> OS migration: file system?
Folks; another migration-related question: I do have a fairly well sized USB drive to hold data so far to share between Linux, Windows and OpenSolaris, thus the lowest common denominator (in terms of file systems) being FAT32. Taken into account I do have also to backup a few VirtualBox images (which are larger than FAT32 allows), I will have to reformat this drive anyhow, so my question: What kind of file system would suit best the need of being written to in Linux _and_ read from in OpenSolaris? (This is just for the migration of config and some data indeed, I'll have to go for FAT32 again after for the Windows situations anyhow...). Comments, anyone? TIA and best regards, Kristian -- Kristian Rink * http://zimmer428.net * http://flickr.com/photos/z428/ jab: [EMAIL PROTECTED] * icq: 48874445 * fon: ++49 176 2447 2771 "One dreaming alone, it will be only a dream; many dreaming together is the beginning of a new reality." (Hundertwasser) ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org