All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ming Lin <mlin@kernel.org>
To: "Георгий Стариков" <gstarikov@gmail.com>
Cc: linux-bcache@vger.kernel.org
Subject: Re: cant mount bcachefs
Date: Wed, 29 Jul 2015 13:16:45 -0700	[thread overview]
Message-ID: <CAF1ivSZ_R-NBfLP6p3_G1kyAr2iZJeDMbxvs7CC9xCS4A8CsVg@mail.gmail.com> (raw)
In-Reply-To: <CAOOKTyC1Xa2PKpZH1R5s-n9nSLpSOd=7su0SDh9dkQ-D6zjceA@mail.gmail.com>

On Wed, Jul 29, 2015 at 10:36 AM, Георгий Стариков <gstarikov@gmail.com> wrote:
> Hello,
> I followed instruction at http://bcache.evilpiepirate.org/ and it cant mount...
> What I'm doing wrong?
>
>
> I make:
>
> git clone -b bcache-dev http://evilpiepirate.org/git/linux-bcache.git
> git clone -b dev http://evilpiepirate.org/git/bcache-tools.git
>
> cd bcache-tools/linux-bcache/
> make oldconfig
> make -j6 deb-pkg
> make -j6 modules_install
> make -j6 install
> reboot
>
> wipefs -a /dev/sdd
>
> Then, just run
>
> bcacheadm format -C /dev/sdd
> strace -v -o bcache_mount_strace.txt mount /dev/sdd /test_bcachefs
>
> and it hangup....

Any message in dmesg?

Could you do:

cat  /proc/`pidof mount`/stack

>
> root@bcache:~# tail bcache_mount_strace.txt
> geteuid()                               = 0
> getgid()                                = 0
> getegid()                               = 0
> prctl(PR_GET_DUMPABLE)                  = 1
> stat("/run", {st_dev=makedev(0, 18), st_ino=2625,
> st_mode=S_IFDIR|0755, st_nlink=23, st_uid=0, st_gid=0,
> st_blksize=4096, st_blocks=0, st_size=740,
> st_atime=2015/07/17-13:07:47, st_mtime=2015/07/29-14:20:25,
> st_ctime=2015/07/29-14:20:25}) = 0
> lstat("/etc/mtab", {st_dev=makedev(8, 1), st_ino=131233,
> st_mode=S_IFLNK|0777, st_nlink=1, st_uid=0, st_gid=0, st_blksize=4096,
> st_blocks=0, st_size=12, st_atime=2015/07/29-06:40:34,
> st_mtime=2015/07/12-10:40:12, st_ctime=2015/07/12-10:40:12}) = 0
> lstat("/run/mount/utab", {st_dev=makedev(0, 18), st_ino=1968,
> st_mode=S_IFREG|0644, st_nlink=1, st_uid=0, st_gid=0, st_blksize=4096,
> st_blocks=0, st_size=0, st_atime=2015/07/17-13:10:49,
> st_mtime=2015/07/17-13:10:49, st_ctime=2015/07/17-13:10:49}) = 0
> open("/run/mount/utab", O_RDWR|O_CREAT|O_CLOEXEC, 0644) = 3
> close(3)                                = 0
> mount("/dev/sdd", "/test_bcachefs", "bcache", MS_MGC_VAL, NULL

  reply	other threads:[~2015-07-29 20:16 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CAOOKTyBohkud24RBZegyHhEqpo+FV6H-o2MgPyr+CVvSvc1s-A@mail.gmail.com>
2015-07-29 17:36 ` Fwd: cant mount bcachefs Георгий Стариков
2015-07-29 20:16   ` Ming Lin [this message]
     [not found]     ` <CAOOKTyAb5Es0Wb=CTF0DeiUzkYvqjw0we0j_z6L+vbRqR1zvnw@mail.gmail.com>
2015-07-29 23:09       ` Ming Lin
2015-07-30  0:05         ` Георгий Стариков

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAF1ivSZ_R-NBfLP6p3_G1kyAr2iZJeDMbxvs7CC9xCS4A8CsVg@mail.gmail.com \
    --to=mlin@kernel.org \
    --cc=gstarikov@gmail.com \
    --cc=linux-bcache@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.