[OpenIndiana-discuss] mount ext2/3
Jonathan Adams
t12nslookup at gmail.com
Thu Feb 27 18:32:22 UTC 2014
I can concur that I cannot seem to mount my ext3 partition on Illumos,
although I'm sure I used to be able to (a very long time ago).
I appear to have the fuse module installed in the kernel and running, even
though I haven't got libfuse or fusefs installed:
jadams at jadlaptop:~$ modinfo | grep -i fuse
271 fffffffff8302000 af80 298 1 fusefs (fuse driver)
271 fffffffff8302000 af80 28 1 fusefs (filesystem for fuse)
root at jadlaptop:~# pkg list -af | grep -i fuse
system/file-system/fuse-exfat (sfe)
0.9.2-0.151.1 ---
system/file-system/fuse-ext2 (sfe)
0.0.5-0.151.1 i--
system/file-system/fusefs (sfe)
0.20100615.2-0.151.1.5 ---
system/file-system/fusefs (sfe)
0.20100615.1-0.151.1.5 ---
system/file-system/fusefs (sfe)
0.20100615-0.151.1 ---
system/file-system/fusefs/src (sfe)
0.20100615.2-0.151.1.5 ---
system/file-system/fusefs/src (sfe)
0.20100615.1-0.151.1.5 ---
system/file-system/libfuse (sfe)
0.20100615-0.151.1.5 ---
system/file-system/libfuse (sfe)
0.20100615-0.151.1 ---
system/file-system/libfuse/src (sfe)
0.20100615-0.151.1.5 ---
I don't know if this is anything to do with the proposed changes by this
guy:
http://openindiana.org/pipermail/oi-dev/2012-January/001095.html
root at jadlaptop:~# parted -l
Model: Generic Ide (ide)
Disk /dev/dsk/c4t0d0p0: 80.0GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
1 8225kB 58.5GB 58.5GB primary solaris boot
2 58.5GB 80.0GB 21.5GB extended
5 58.5GB 79.1GB 20.6GB logical ext3
6 79.1GB 80.0GB 941MB logical linux-swap
root at jadlaptop:~# fuse-ext2 /dev/rdsk/c4t0d0p5 /mnt/linux
root at jadlaptop:~# ls -l /mnt/linux
total 0
Jon
On 27 February 2014 17:19, PÁSZTOR György
<pasztor at linux.gyakg.u-szeged.hu>wrote:
> Hi,
>
> "Michael Schuster" <michaelsprivate at gmail.com> írta 2014-02-27 18:00-kor:
> > I'm not an ext2/ext3 expert, but usually /var/adm/messages or
> > 'dmesg'-output should indicate something. Where there any other error
> > messages that you may not have quoted in your initial email?
>
> There were no error message, nor other indication of fail, it just failed
> silently.
> Nor dmesg contains relevant info:
> root at oi:~# dmesg |tail
> Feb 27 13:52:09 oi pseudo: [ID 129642 kern.info] pseudo-device: sdbc0
> Feb 27 13:52:09 oi genunix: [ID 936769 kern.info] sdbc0 is /pseudo/sdbc at 0
> Feb 27 13:52:09 oi pseudo: [ID 129642 kern.info] pseudo-device: ii0
> Feb 27 13:52:09 oi genunix: [ID 936769 kern.info] ii0 is /pseudo/ii at 0
> Feb 27 15:01:17 oi pcplusmp: [ID 805372 kern.info] pcplusmp: ide (ata)
> instance 0 irq 0xe vector 0x42 ioapic 0x2 intin 0xe is bound to cpu 1
> Feb 27 15:01:17 oi pcplusmp: [ID 805372 kern.info] pcplusmp: ide (ata)
> instance 1 irq 0xf vector 0x42 ioapic 0x2 intin 0xf is bound to cpu 0
> Feb 27 15:32:12 oi pcplusmp: [ID 805372 kern.info] pcplusmp: ide (ata)
> instance 0 irq 0xe vector 0x42 ioapic 0x2 intin 0xe is bound to cpu 1
> Feb 27 15:32:12 oi pcplusmp: [ID 805372 kern.info] pcplusmp: ide (ata)
> instance 1 irq 0xf vector 0x42 ioapic 0x2 intin 0xf is bound to cpu 0
> Feb 27 15:32:13 oi pcplusmp: [ID 805372 kern.info] pcplusmp: ide (ata)
> instance 0 irq 0xe vector 0x42 ioapic 0x2 intin 0xe is bound to cpu 1
> Feb 27 15:32:13 oi pcplusmp: [ID 805372 kern.info] pcplusmp: ide (ata)
> instance 1 irq 0xf vector 0x42 ioapic 0x2 intin 0xf is bound to cpu 0
>
> Neither truss:
> root at oi:~# LD_LIBRARY_PATH=/usr/gnu/lib truss fuse-ext2 /dev/lofi/1
> /mnt/e2t/
> execve("/usr/bin/fuse-ext2", 0x08047E0C, 0x08047E1C) argc = 3
> sysinfo(SI_MACHINE, "i86pc", 257) = 6
> mmap(0x00000000, 32, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON,
> -1, 0) = 0xFEFB0000
> mmap(0x00000000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC,
> MAP_PRIVATE|MAP_ANON, -1, 0) = 0xFEFA0000
> sysconfig(_CONFIG_PAGESIZE) = 4096
> mmap(0x00000000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANON, -1, 0)
> = 0xFEF90000
> mmap(0x00000000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANON, -1, 0)
> = 0xFEF80000
> memcntl(0xFEFB7000, 32140, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
> memcntl(0x08050000, 24156, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
> resolvepath("/usr/lib/ld.so.1", "/lib/ld.so.1", 1023) = 12
> resolvepath("/usr/bin/fuse-ext2", "/usr/bin/fuse-ext2", 1023) = 18
> stat64("/usr/bin/fuse-ext2", 0x08047A50) = 0
> open("/var/ld/ld.config", O_RDONLY) Err#2 ENOENT
> stat64("/usr/gnu/lib/libc.so.1", 0x08047200) Err#2 ENOENT
> stat64("/lib/libc.so.1", 0x08047200) = 0
> resolvepath("/lib/libc.so.1", "/lib/libc.so.1", 1023) = 14
> open("/lib/libc.so.1", O_RDONLY) = 3
> mmap(0x00000000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC,
> MAP_PRIVATE|MAP_ANON, -1, 0) = 0xFEF70000
> mmapobj(3, MMOBJ_INTERPRET, 0xFEF70018, 0x0804726C, 0x00000000) = 0
> close(3) = 0
> memcntl(0xFEE30000, 179708, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
> mmap(0x00010000, 24576, PROT_READ|PROT_WRITE|PROT_EXEC,
> MAP_PRIVATE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEE20000
> getcontext(0x080478B0)
> getrlimit(RLIMIT_STACK, 0x080478A8) = 0
> getpid() = 1818 [1817]
> lwp_private(0, 1, 0xFEE22A40) = 0x000001C3
> setustack(0xFEE22AA0)
> sysi86(SI86FPSTART, 0xFEF69C2C, 0x0000133F, 0x00001F80) = 0x00000001
> brk(0x0807A3B8) = 0
> brk(0x0807C3B8) = 0
> stat64("/dev/lofi/1", 0x08047D30) = 0
> brk(0x0807C3B8) = 0
> brk(0x0807E3B8) = 0
> open("/dev/lofi/1", O_RDWR) = 3
> fstat64(3, 0x08047A70) = 0
> brk(0x0807E3B8) = 0
> brk(0x080803B8) = 0
> llseek(3, 1024, SEEK_SET) = 1024
> read(3, " X d\0\0\09001\0\014\0\0".., 1024) = 1024
> close(3) = 0
> stat64("/usr/gnu/lib/libfuse.so", 0x08047288) = 0
> resolvepath("/usr/gnu/lib/libfuse.so", "/usr/gnu/lib/libfuse.so.2.7.1",
> 1023) = 29
> open("/usr/gnu/lib/libfuse.so", O_RDONLY) = 3
> mmapobj(3, MMOBJ_INTERPRET, 0xFEF70C38, 0x080472F4, 0x00000000) = 0
> close(3) = 0
> mmap(0x00000000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC,
> MAP_PRIVATE|MAP_ANON, -1, 0) = 0xFEDD0000
> memcntl(0xFEDE0000, 43104, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
> stat64("/usr/gnu/lib/libxnet.so.1", 0x080471C8) Err#2 ENOENT
> stat64("/lib/libxnet.so.1", 0x080471C8) = 0
> resolvepath("/lib/libxnet.so.1", "/lib/libxnet.so.1", 1023) = 17
> open("/lib/libxnet.so.1", O_RDONLY) = 3
> mmapobj(3, MMOBJ_INTERPRET, 0xFEDD0578, 0x08047234, 0x00000000) = 0
> close(3) = 0
> mprotect(0xFEDE0000, 128915, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
> stat64("/usr/gnu/lib/libsocket.so.1", 0x08046DD8) Err#2 ENOENT
> stat64("/lib/libsocket.so.1", 0x08046DD8) = 0
> resolvepath("/lib/libsocket.so.1", "/lib/libsocket.so.1", 1023) = 19
> open("/lib/libsocket.so.1", O_RDONLY) = 3
> mmapobj(3, MMOBJ_INTERPRET, 0xFEDD0B38, 0x08046E44, 0x00000000) = 0
> close(3) = 0
> mmap(0x00000000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC,
> MAP_PRIVATE|MAP_ANON, -1, 0) = 0xFEDB0000
> memcntl(0xFE7C0000, 16664, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
> stat64("/usr/gnu/lib/libnsl.so.1", 0x08046948) Err#2 ENOENT
> stat64("/lib/libnsl.so.1", 0x08046948) = 0
> resolvepath("/lib/libnsl.so.1", "/lib/libnsl.so.1", 1023) = 16
> open("/lib/libnsl.so.1", O_RDONLY) = 3
> mmapobj(3, MMOBJ_INTERPRET, 0xFEDB0798, 0x080469B4, 0x00000000) = 0
> close(3) = 0
> memcntl(0xFEAE0000, 78432, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
> mprotect(0xFEDE0000, 128915, PROT_READ|PROT_EXEC) = 0
> sigfillset(0xFEF690E8) = 0
> _exit(-4)
>
> (Now, dmesg contains the same as before.)
>
> Regards,
> György
>
> _______________________________________________
> OpenIndiana-discuss mailing list
> OpenIndiana-discuss at openindiana.org
> http://openindiana.org/mailman/listinfo/openindiana-discuss
>
More information about the OpenIndiana-discuss
mailing list