WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

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

Offline andysendo

  • WikiUser
  • *
  • Posts: 14
mount xfs partition failed: no such device
« on: May 13, 2017, 06: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

  • Full Member
  • ***
  • Posts: 185
Re: mount xfs partition failed: no such device
« Reply #1 on: May 13, 2017, 08:32:46 PM »
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: 9365
Re: mount xfs partition failed: no such device
« Reply #2 on: May 13, 2017, 09:07:05 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.

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

Offline andysendo

  • WikiUser
  • *
  • Posts: 14
Re: mount xfs partition failed: no such device
« Reply #3 on: May 14, 2017, 01: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: 9365
Re: mount xfs partition failed: no such device
« Reply #4 on: May 14, 2017, 01: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, 03:15:29 AM by Juanito »

Offline andysendo

  • WikiUser
  • *
  • Posts: 14
Re: mount xfs partition failed: no such device
« Reply #5 on: May 14, 2017, 03: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: 9365
Re: mount xfs partition failed: no such device
« Reply #6 on: May 14, 2017, 04:03:48 AM »
dep file updated