From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ryusuke Konishi Subject: Re: Initial mount fails Date: Mon, 05 Dec 2011 02:13:11 +0900 (JST) Message-ID: <20111205.021311.06955058.ryusuke@osrg.net> References: <20111204.222908.193237875.ryusuke@osrg.net> Mime-Version: 1.0 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: In-Reply-To: Sender: linux-nilfs-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: Content-Type: Text/Plain; charset="iso-8859-1" To: zavi05-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org Cc: linux-nilfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org On Sun, 4 Dec 2011 18:38:58 +0200, Zavi wrote: > Thank you Ryusuke for the quick reply >=20 > Of course dmesg is the first thing I looked at. > All I see is a not very informative message > > NILFS: Can't find nilfs on dev sdc. >=20 This message is printed when no super blocks are found on the device. Does nilfs-tune command work for the partition ? $ sudo nilfs-tune -l /dev/sdc It tries to read super block, and displays file system information if a valid super block was found. Regards, Ryusuke Konishi > On Sun, Dec 4, 2011 at 3:29 PM, Ryusuke Konishi > wrote: > > Hi, > > On Sun, 4 Dec 2011 11:10:12 +0200, Zavi wrote: > >> Hi all, > >> > >> I'm trying yo mount nilfs on a device without success. > >> mkfs works just fine, but when I try to mount I keep getting an er= ror > >> > sudo mkfs -t nilfs2 /dev/sdc > >> > sudo mount -t nilfs2 /dev/sdc ~/nilfs > >> mount.nilfs2: Error while mounting /dev/sdc on ~/nilfs: Invalid ar= gument > >> > > > > Were there any related messages in logs? =A0Please try dmesg comman= d or > > make sure system logs: > > > > =A0$ dmesg > > > > =A0or > > > > =A0$ sudo cat /var/log/{messages,syslog} > > > > Regards, > > Ryusuke Konishi > > > >> I've installed nilfs-utils, and this is what I get from fsck > >> > sudo fsck0.nilfs2 -f -v /dev/sdc > >> fsck0.nilfs2: cannot read super block (device=3D/dev/sdc) > >> > >> just to be sure the problem is not in the device, I mounted ext4 o= n it > >> successfuly. > >> I can also do block requests (dd, iometer) without a problem. > >> > >> I'd appreciate any suggestion. > >> > >> Thanks, > >> Zavi > >> -- > >> To unsubscribe from this list: send the line "unsubscribe linux-ni= lfs" in > >> the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org > >> More majordomo info at =A0http://vger.kernel.org/majordomo-info.ht= ml > -- > 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 -- 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