+ Reply to Thread
Results 1 to 3 of 3

Thread: Filesystems Part Deux

  1. #1
    jupiter3932
    Guest

    Filesystems Part Deux

    In reading Ralph's pervious post I came accross a question. Say you have two hard drives in your system. One is running Solaris 10 and the other is Linux on ext2 FS. Is it possible to mount the linux using Solaris and transfer files?



    Thanks,

    Robert
    More Information:
    1. Zones Automation In The Real World Part Deux · QA Testing With The Zone Manager · A Great Bash Scripting Nugget
    2. The project is to make FreeBSD tolerate the removal of active disk devices, such as when a USB flash device with a mounted filesystems is physically
    3. Sept 7th, 2000: Regular expressions part Deux, by Peter Benjamin; Aug, 2000: live "show-n-tell" install of sunscreen lite, Sun's free firewall, along
    4. Added that to the OP and highlighted the whole case part in red
    5. SQL Server Consolidation, Part Deux Consider for a moment that you have a deck attached
    6. As you may guess, modules each represent a particular component of kernel functionality -- one module may provide FAT filesystem support, while
    7. Tonight's the night, Part Deux · Tonight's the night · MT just got more interesting with perl-fcgi under lighttpd
    8. As someone with about 25TB of data sitting on XFS filesystems, all I'll say about XFS is this: How viable is it going to be now that SGI is nearing the end?
    9. Title : Linux Firewall Part 5: The GUI Interface Author : Alan McCloskey

    More:


  2. #2
    hungvncc
    Guest


    Quote:







    (9.17) Will Linux programs run on Solaris 2/x86?



    The Lxrun program, originally written for SCO, is now available on Solaris/x86. The Lxrun emulator allows one to execute Linux binaries, both in ELF and a.out Linux formats. Linux ext2 read-only filesystem support from Solaris (mount/unmount) is included with ext2fs.tar.gz.



    To install, first install package SFWlxrun from the Solaris Software Companion CD. Setup or mount a ext2fs filesystem, say at /linux (as explained in a question below on ext2fs).


    Reference: http://www.sun.drydog.com/faq/9.html




    Quote:







    (9.23) Can I access Linux (ext2fs) partitions from Solaris?



    Yes. The Lxrun program (see the question elsewhere above on Lxrun) includes software for Linux ext2 read-only filesystem support from Solaris (mount/unmount) is in file ext2fs.tar.gz.



    1. Obtain the ext2fs.tar.gz file for your version of Solaris. Note that this software is not supported and may contain bugs. Use at your own risk.

    * Solaris 10 ("Solaris Express" pre-release, 7/2004): ext2fs.solaris10.tar.gz,

    * Solaris 9: ext2fs.solaris9.tar.gz,

    * Solaris 8: ext2fs.solaris8.tar.gz,

    * Solaris 7: ext2fs.solaris7.tar.gz



    2. Untar file "gzcat ext2fs*.tar.gz | tar xvf -", and either rebuild from source or use the prebuilt binaries (easiest).



    3. Become root and install the files under directory ext2fs/i386. by running "./getext2fs" as root from the source directory downloaded above.



    4. Install the man pages:



    cp ext2fs.7fs /usr/share/man/man7fs

    cp mount_ext2fs.1m /usr/share/man/man1m



    5. Make your mount point. For example: "mkdir /linux"



    6. Find your Linux partition and try and mount it. For SCSI, mount it similar to this:



    /usr/sbin/mount -r -F ext2fs /dev/dsk/c0t0d0p1 /linux



    For ATAPI, mount it similar to this (no "t0"):



    /usr/sbin/mount -r -F ext2fs /dev/dsk/c0d0p1 /linux



    "c0d0p1" indicates fdisk partition 1 (2nd partition) on disk 0 of ATAPI controller 0. See the question above on mounting DOS filesystems and the question below on decoding /dev/dsk/c* device names.



    7. If you installed the ext2fs correctly and specified the correct partition, you should see something like this from mount, modinfo, and ls. (My linux partition is on the 2nd disk, 3rd partition.)



    # mount | grep /linux

    /linux on /dev/dsk/c0d1p2 read only/setuid/dev=1980052 on Sat Mar 31 14:57 2001

    # modinfo | grep ext2fs

    186 fe9688f1 5e98 19 1 ext2fs (Linux Second Extended Filesystem)

    # ls /linux

    bin etc lib proc sbin tmp

    boot home lost found root var usr

    dev include mnt



    8. Once you found and mounted the correct linux partition, add and add an entry to /etc/vfstab similar to one of the following. For SCSI, it might look like this:

    /dev/dsk/c0t0d0p1 - /linux ext2fs - no ro

    For ATAPI, it might look like this (no "t0"):

    /dev/dsk/c0d0p1 - /linux ext2fs - no ro

    (Use "yes" instead of "no" if you want it mounted automatically at boot).



    9. Repeat for other linux filesystems, if desired.



    Once you mount a ext2fs filesystem, you can execute Linux programs using lxrun (see the question on lxrun, above).



    For further information, see the ext2fs(7fs) and mount_ext2fs(1m) man pages you installed above.



    [Thanks to Pete Shanahan for the Solaris 10 port, Paul Floyd for the Solaris 9 port, and Mike Sullivan for the Solaris 8 port. Neither I nor they take any responsibility for errors with this software.]


    More Information:
    1. Except for the faxing part (which we never got around to doing), I made it very painless
    2. Quoi de plus classe qu'un ninja, à part deux ninjas ? Attention, pas les ninjas des nanars philippins avec leurs pyjamas rouges et leurs bombinettes
    3. GeekTool Revisited: Weather Conditions - Part Deux · How To: Create DMG Art for Fancy Application Installations · Simple Hard Drive Cloning/Backup with Carbon Copy Cloner
    4. Second, make sure that all other filesystems do not use the filesystem cache
    5. 4 posts - 3 authors - Last post: Oct 27, 2009Disk 2 Disk (Part Deux)
    6. There was another issue which also leaked information as to which file was part of which safe: the filesystem timestamps
    7. Which continues on at 1:30 with Part Deux MySQL Configuration Options and Files: Intermediate MySQL Variables (Part 2)
    8. Page 8-Official iPhone/iPod Touch Thread: Part Deux! Off-Topic Discussion
    9. I hear that we can expect a 'guide part deux - the complete how to'! REPLY

+ Reply to Thread

Similar Threads

  1. Can we host a part of a website on one server n another part on another server ?
    Can we host a part of a domain on one server or with a hosting service provider and another part of the same domain on different server or hosting...
  2. My Abrite Problems (part deux)
    Ok, so my website has been running for a month...put alot of time and effort into getting traffic and so far i have made a measly $25 I using...
  3. Which Looks Better? - part 2
    In another thread I asked for people's opinions between a few menu color options for I had also asked about the red links and if I should change...
  4. My Do-it-yourself PC Part 2
    Originally I planned to build a computer about 8 months ago. That never happened because I got side tracked by some other business. If you would like...
  5. part FAQ part QUESTION (long)
    As a result of my recent harddrive calamities, I've been doing some research/review. Thought I'd post the findings as a sort of mini FAQ, and also...

Visitors found this page by searching for:

Nobody landed on this page from a search engine, yet!

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Automatic Translations (Powered by Powered by Google):
Afrikaans Albanian Arabic Belarusian Bulgarian Catalan Chinese Croatian Czech Danish Dutch English Estonian Filipino Finnish French Galician German Greek Hebrew Hindi Hungarian Icelandic Indonesian Irish Italian Japanese Korean Latvian Lithuanian Macedonian Malay Maltese Norwegian Persian Polish Portuguese Romanian Russian Serbian Slovak Slovenian Spanish Swahili Swedish Taiwanese Thai Turkish Ukrainian Vietnamese Welsh Yiddish