hi I created btrfs file system on one of sda partition. when I mount with mount -t /dev/sda17 /btrfs, it is failing with wrong fs type bad option. when i see the dmesg, mount command is searching for ext3, ext2 filesystem on sda17. but not btrfs. even in the man page of mount, btrfs is not mentioned as supported file system type. Please help me to solve this issue. thanks rajan -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
On Sep 24, 2013, at 5:39 PM, vgrvelu <vgrajan2005@gmail.com> wrote:> hi > > I created btrfs file system on one of sda partition. when I mount > with mount -t /dev/sda17 /btrfs,remove the -t or add btrfs after it. Chris Murphy -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
On 9/24/13 6:39 PM, vgrvelu wrote:> hi > > I created btrfs file system on one of sda partition. when I mount > with mount -t /dev/sda17 /btrfs,# mount -t /dev/sda17 /btrfs? That doesn''t work. Maybe you meant : # mount -t btrfs /dev/sda17 /btrfs ?> it is failing with wrong fs type bad option. when i see the dmesg, > mount command is searching for ext3, ext2 filesystem on sda17. but > not btrfs. > even in the man page of mount, btrfs is not mentioned as supported > file system type. > > Please help me to solve this issue.does your kernel support btrfs? Sounds like maybe not. To load it in case it''s a module: # modprobe btrfs then see if the kernel even knows what btrfs is, either via the module, or due to being built into the kernel image already: # grep btrfs /proc/filesystems The first cmd might fail if it''s built into the kernel, but if that''s the reason, the 2nd one should find btrfs in /proc/filesystems... If not, you need a kernel that supports btrfs. -Eric> thanks > rajan > -- > To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html >-- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Hi after doing mofprobe btrfs I could see btrfs entry in proc file system. But still mount command is failing. It looks like super block is corrupted thanks rajan On Wed, Sep 25, 2013 at 5:26 AM, Chris Murphy <lists@colorremedies.com> wrote:> > On Sep 24, 2013, at 5:39 PM, vgrvelu <vgrajan2005@gmail.com> wrote: > >> hi >> >> I created btrfs file system on one of sda partition. when I mount >> with mount -t /dev/sda17 /btrfs, > > remove the -t or add btrfs after it. > > > > Chris Murphy > -- > To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html-- A.V.Gomathirajan M.S Research (Entrepreneurship) Indian Institute of Technology Madras -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Hello,> Hi > > after doing mofprobe btrfs I could see btrfs entry in proc file > system. But still mount command is failing. It looks like super block > is corruptedYou can try to recover superblocks. Steps: #git clone http://github.com/kdave/btrfs-progs.git # cd btrfs-progs # git pull http://github.com/kdave/btrfs-progs.git integration-20130924 # make && make install # btrfs rescue super-recover -vy <device> Let''s see what will happen.. Thanks, Wang> > thanks > rajan > > On Wed, Sep 25, 2013 at 5:26 AM, Chris Murphy <lists@colorremedies.com> wrote: >> >> On Sep 24, 2013, at 5:39 PM, vgrvelu <vgrajan2005@gmail.com> wrote: >> >>> hi >>> >>> I created btrfs file system on one of sda partition. when I mount >>> with mount -t /dev/sda17 /btrfs, >> >> remove the -t or add btrfs after it. >> >> >> >> Chris Murphy >> -- >> To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in >> the body of a message to majordomo@vger.kernel.org >> More majordomo info at http://vger.kernel.org/majordomo-info.html > > > > -- > A.V.Gomathirajan > M.S Research (Entrepreneurship) > Indian Institute of Technology Madras > -- > To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html-- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
On 9/25/13 8:00 AM, vgrvelu wrote:> Hi > > after doing mofprobe btrfs I could see btrfs entry in proc file > system. But still mount command is failing. It looks like super block > is corruptedSeems doubtful if you *just* ran mkfs.btrfs. Can you paste the exact commands you issued, from mkfs to mount, and the resulting kernel messages? -Eric> thanks > rajan-- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html