Trying Tux3; What am I doing wrong?
Masoud Sharbiani
masoud.sharbiani at gmail.com
Wed Aug 5 18:55:56 PDT 2015
Transcript:
root at localhost linux-tux3]# modprobe tux3
[root at localhost linux-tux3]#
[root at localhost linux-tux3]#
[root at localhost linux-tux3]#
[root at localhost linux-tux3]# ~/tux3 mkfs /dev/md0
Make tux3 filesystem on /dev/md0 (blocksize 4096)
Error: open_volume:25: could not open '/dev/md0': No such file or directory
[root at localhost linux-tux3]# ~/tux3 mkfs /dev/md127
Make tux3 filesystem on /dev/md127 (blocksize 4096)
Volume size = 24003653664768 bytes
filemap_bufvec_check: read inode 0x1 block 0x0
filemap_extent_io: extent 0x0/40 => 0
filemap_bufvec_check: read inode 0x2 block 0x0
filemap_extent_io: extent 0x0/40 => 0
countmap_add: add 2 to group 0
save_inode: save inode 0x3f
balloc_find: scan volume for 1 blocks, goal = 2
balloc_find: groupsize = 8192, topgroup = 715364, threshold = 1
balloc_find: --- pass1 ---
balloc_find: group 0: start
balloc_find: goal = 2, next = 8192, skip = 0
balloc_find_range: find 1 blocks in [2/8190], segs = 0
balloc_find_range: balloc seg [2/1]
countmap_add: add 1 to group 0
save_inode: save inode 0x4
balloc_find: scan volume for 1 blocks, goal = 3
balloc_find: groupsize = 8192, topgroup = 715364, threshold = 1
balloc_find: --- pass1 ---
balloc_find: group 0: start
balloc_find: goal = 3, next = 8192, skip = 0
balloc_find_range: find 1 blocks in [3/8189], segs = 0
balloc_find_range: balloc seg [3/1]
countmap_add: add 1 to group 0
tux3_logmap_io: logchain 3
(map 0x184de30)
[0] 0/1*
(map 0x18579f0)
(map 0x1849b30)
[root at localhost linux-tux3]# mout /dev/md127 /data
-bash: mout: command not found
[root at localhost linux-tux3]# mount /dev/md127 /data
mount: you must specify the filesystem type
[root at localhost linux-tux3]# mount -t tux /dev/md127 /data
mount: unknown filesystem type 'tux'
[root at localhost linux-tux3]# mount -t tux3 /dev/md127 /data
[ 410.321764] tux3_fill_super:775: s_blocksize 4096
[root at localhost linux-tux3]# touch /data/xxx
touch: cannot touch `/data/xxx': Permission denied
[root at localhost linux-tux3]# dmesg | tail
[ 17.175956] EXT4-fs (dm-2): mounted filesystem with ordered data mode.
Opts: (null)
[ 17.183614] SELinux: initialized (dev dm-2, type ext4), uses xattr
[ 17.573113] Adding 5861372k swap on /dev/mapper/VolGroup-lv_swap.
Priority:-1 extents:1 across:5861372k SSFS
[ 17.615774] SELinux: initialized (dev binfmt_misc, type binfmt_misc),
uses genfs_contexts
[ 18.293107] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 21.026578] e1000e: eth0 NIC Link is Up 1000 Mbps Full Duplex, Flow
Control: Rx/Tx
[ 21.034497] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 24.074657] audit: type=1305 audit(1438825656.409:4): audit_pid=2076
old=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:auditd_t:s0
res=1
[ 410.321764] tux3_fill_super:775: s_blocksize 4096
[ 410.326710] SELinux: initialized (dev md127, type tux3), not configured
for labeling
Hope that helps,
Masoud
On Wed, Aug 5, 2015 at 3:57 PM, OGAWA Hirofumi <hirofumi at mail.parknet.co.jp>
wrote:
> Masoud Sharbiani <masoud.sharbiani at gmail.com> writes:
>
> > So, hirofumi branch does not have a fs/tux3/user/ directory:
>
> Yes. hirofumi branch is for kernel. hirofumi-user branch is for userland
> commands.
>
> > [root at localhost linux-tux3]# git branch
> > hirofumi
> > hirofumi-user
> > * master
> > [root at localhost linux-tux3]# git checkout hirofumi
> > Checking out files: 100% (23904/23904), done.
> > Switched to branch 'hirofumi'
> > [root at localhost linux-tux3]# git log
> > commit 6548a36e52cdee6bb6095f0c97f304a2e0866790
> > Author: OGAWA Hirofumi <hirofumi at mail.parknet.co.jp>
> > Date: Sat Jun 6 18:45:08 2015 +0900
> >
> > tux3: Cleanup deferred inode allocation in evict_inode() (temporary)
> > ....
>
> userland and kernel build sample is here.
>
> https://github.com/OGAWAHirofumi/linux-tux3/wiki/Compile
>
> But replace "git checkout master" with "git checkout hirofumi". Then
> install built kernel from hirofumi branch.
>
> I guess the kernel tried mount is not match to userland command version.
>
> If you already installed kernel from hirofumi, can you show dmesg after
> trying mount?
>
> Thanks.
> --
> OGAWA Hirofumi <hirofumi at mail.parknet.co.jp>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://phunq.net/pipermail/tux3/attachments/20150805/7c70ef34/attachment-0001.html>
More information about the Tux3
mailing list