WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: mount xfs partition failed: no such device  (Read 5514 times)

Offline andysendo

  • Newbie
  • *
  • Posts: 17
mount xfs partition failed: no such device
« on: May 13, 2017, 10:24:12 PM »
Boot tinycore iso with qemu/kvm,  xfsprogs extention installed. Virtual hardrive partition vda1 mkfs.xfs sucessce.
Mount vda1 as xfs failed, error info like:   mount /dev/vda1 on mp failed: No such device
mount command must specify  " -t xfs" option.

mkfs.ext4 & mount vda1 as ext4 sucesse. mount command no need to  specify " -t ext4" option.

So is there some bugs or i missing something?

TinyCorePure64-current.iso (8.0).

Offline polikuo

  • Hero Member
  • *****
  • Posts: 714
Re: mount xfs partition failed: no such device
« Reply #1 on: May 14, 2017, 12:32:46 AM »
XFS is an advanced file system for Linux, which is not supported by default.
You'll need xfsprogs.tcz

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14756
Re: mount xfs partition failed: no such device
« Reply #2 on: May 14, 2017, 01:07:05 AM »
Boot tinycore iso with qemu/kvm,  xfsprogs extention installed. Virtual hardrive partition vda1 mkfs.xfs sucessce.
Mount vda1 as xfs failed, error info like:   mount /dev/vda1 on mp failed: No such device
mount command must specify  " -t xfs" option.

Does this work:
Code: [Select]
$ sudo mount -t xfs /dev/vda1 /mnt/vda1

Offline andysendo

  • Newbie
  • *
  • Posts: 17
Re: mount xfs partition failed: no such device
« Reply #3 on: May 14, 2017, 05:00:46 AM »
I am usinig xfs for a long time for real env, nerver met this mount error.
mkfs.xfs & xfs_repaire runs fine, mount xfs runs failed, mount point does not matter.
Maybe kernel did not compile xfs module in?

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14756
Re: mount xfs partition failed: no such device
« Reply #4 on: May 14, 2017, 05:12:10 AM »
can you post the exact error you get from this:
Code: [Select]
$ sudo mount -t xfs /dev/vda1 /mnt/vda1
Ref:
Code: [Select]
CONFIG_XFS_FS=m
# CONFIG_XFS_QUOTA is not set
# CONFIG_XFS_POSIX_ACL is not set
# CONFIG_XFS_RT is not set
# CONFIG_XFS_WARN is not set
# CONFIG_XFS_DEBUG is not s
..is the module loaded?

Edit: the module is in the filesystems-KERNEL extension
« Last Edit: May 14, 2017, 07:15:29 AM by Juanito »

Offline andysendo

  • Newbie
  • *
  • Posts: 17
Re: mount xfs partition failed: no such device
« Reply #5 on: May 14, 2017, 07:48:30 AM »
yes, mount xfs vda1 suceese after install filesystem-xxx extension.

I suggest xfsprogs extension auto depends filesystem-xxx ext when it download & install.

Thanks.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14756
Re: mount xfs partition failed: no such device
« Reply #6 on: May 14, 2017, 08:03:48 AM »
dep file updated