Linux NILFS development
 help / color / mirror / Atom feed
From: Ryusuke Konishi <ryusuke-sG5X7nlA6pw@public.gmane.org>
To: rdeleonp-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
Cc: linux-nilfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: Error while testing (using loop device)
Date: Sat, 24 Jul 2010 01:31:41 +0900 (JST)	[thread overview]
Message-ID: <20100724.013141.57633737.ryusuke@osrg.net> (raw)
In-Reply-To: <AANLkTikY4joAzVe-3BSpX9KNSmFPr8cXqpJ_0pJ+rX0P-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>

Hi,
On Fri, 23 Jul 2010 10:47:38 -0500, Rodrigo_E._De_León_Plicet wrote:
> On Thu, Jul 22, 2010 at 9:31 PM, Ryusuke Konishi <ryusuke-sG5X7nlA6pw@public.gmane.org> wrote:
> > How about this?
> >
> >  $ sudo mount -t nilfs2 -o ro,cp=3,loop=/dev/loop0 /tmp/test.img /tmp/t2
> >
> > or
> >
> >  $ sudo mount -t nilfs2 -r -o cp=3,loop=/dev/loop0 /tmp/test.img /tmp/t2
> >  ...
> >  $ sudo umount /tmp/t2
> 
> Hi. Thanks for the reply.
> 
> rdl@linage:/tmp$ lscp
>                  CNO        DATE     TIME  MODE  FLG   NBLKINC       ICNT
>                    1  2010-07-23 10:36:35   cp    -         11          3
>                    2  2010-07-23 10:37:22   cp    -          8          3
>                    3  2010-07-23 10:38:13   ss    -        615          4
>                    4  2010-07-23 10:38:58   cp    -         77          5
>                    5  2010-07-23 10:39:05   cp    -         21         10
>                    6  2010-07-23 10:39:12   cp    -         26          7
>                    7  2010-07-23 10:39:43   cp    i          8          7
> 
> rdl@linage:/tmp$ ls -lad t*
> drwxrwxrwx 3 root root       4096 2010-07-23 10:39 t
> drwxrwxrwx 2 rdl  rdl           6 2010-07-23 10:36 t2
> -rw-r--r-- 1 rdl  rdl  1049624576 2010-07-23 10:36 test.img
> 
> rdl@linage:/tmp$ mount|grep loop
> /dev/loop0 on /tmp/t type nilfs2 (rw,gcpid=2980)
> 
> rdl@linage:/tmp$ sudo mount -t nilfs2 -o ro,cp=3,loop=/dev/loop1
> /tmp/test.img /tmp/t2
> mount.nilfs2: Error while mounting /dev/loop1 on /tmp/t2: Read-only file system
> 
> :(

This looks limitation of the loop devices.

Try the next one for snapshot mounts.

 $ sudo mount -t nilfs2 -o ro,cp=3 /dev/loop0 /tmp/t2

Regards,
Ryusuke Konishi
--
To unsubscribe from this list: send the line "unsubscribe linux-nilfs" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

      parent reply	other threads:[~2010-07-23 16:31 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <AANLkTikwTRGooDQD+Uo08MkywS+KJ8BXxqqytxbNFiqr@mail.gmail.com>
     [not found] ` <AANLkTikwTRGooDQD+Uo08MkywS+KJ8BXxqqytxbNFiqr-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-07-22 19:26   ` Error while testing (using loop device) Rodrigo E. De León Plicet
     [not found]     ` <AANLkTin0qMJvDgs705a9Nu0hWNLCdGEXWn7q_2sXQ6yZ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-07-23  2:31       ` Ryusuke Konishi
     [not found]         ` <20100723.113125.163336402.ryusuke-sG5X7nlA6pw@public.gmane.org>
2010-07-23 15:47           ` Rodrigo E. De León Plicet
     [not found]             ` <AANLkTikY4joAzVe-3BSpX9KNSmFPr8cXqpJ_0pJ+rX0P-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-07-23 16:31               ` Ryusuke Konishi [this message]

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=20100724.013141.57633737.ryusuke@osrg.net \
    --to=ryusuke-sg5x7nla6pw@public.gmane.org \
    --cc=linux-nilfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=rdeleonp-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox