Tiny Core Linux

Tiny Core Base => Corepure64 => Topic started by: andysendo on May 13, 2017, 10:24:12 PM

Title: mount xfs partition failed: no such device
Post by: andysendo 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).
Title: Re: mount xfs partition failed: no such device
Post by: polikuo 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
Title: Re: mount xfs partition failed: no such device
Post by: Juanito 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
Title: Re: mount xfs partition failed: no such device
Post by: andysendo 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?
Title: Re: mount xfs partition failed: no such device
Post by: Juanito 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
Title: Re: mount xfs partition failed: no such device
Post by: andysendo 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.
Title: Re: mount xfs partition failed: no such device
Post by: Juanito on May 14, 2017, 08:03:48 AM
dep file updated