Hi, On Sun, 4 Dec 2011 20:01:25 +0200, Zavi wrote: > Here's the result > > > sudo nilfs-tune -l /dev/sdc > nilfs-tune 2.1.0-rc1 > /dev/sdc: cannot open NILFS Hmm, seems like super blocks are not written to disk. Does the following option ('-K' option) affect the results ? $ sudo mkfs -t nilfs2 -v -K /dev/sdc $ sudo nilfs-tune -l /dev/sdc This option stops issuing discard command to disk just before writing new super blocks. Regards, Ryusuke Konishi > On Sun, Dec 4, 2011 at 7:13 PM, Ryusuke Konishi > <konishi.ryusuke@xxxxxxxxxxxxx> wrote: > > On Sun, 4 Dec 2011 18:38:58 +0200, Zavi wrote: > >> Thank you Ryusuke for the quick reply > >> > >> 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. > >> > > > > 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 > >> <konishi.ryusuke@xxxxxxxxxxxxx> 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 error > >> >> > sudo mkfs -t nilfs2 /dev/sdc > >> >> > sudo mount -t nilfs2 /dev/sdc ~/nilfs > >> >> mount.nilfs2: Error while mounting /dev/sdc on ~/nilfs: Invalid argument > >> >> > >> > > >> > Were there any related messages in logs? Please try dmesg command or > >> > make sure system logs: > >> > > >> > $ dmesg > >> > > >> > or > >> > > >> > $ 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=/dev/sdc) > >> >> > >> >> just to be sure the problem is not in the device, I mounted ext4 on 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-nilfs" in > >> >> the body of a message to majordomo@xxxxxxxxxxxxxxx > >> >> 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@xxxxxxxxxxxxxxx > >> 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@xxxxxxxxxxxxxxx > 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@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html