public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] external (NFTS) USB 2TB stick error mount.
@ 2021-11-01 21:41 thelma
  2021-11-01 21:50 ` Michael
  2021-11-01 22:47 ` [gentoo-user] " Grant Edwards
  0 siblings, 2 replies; 10+ messages in thread
From: thelma @ 2021-11-01 21:41 UTC (permalink / raw
  To: Gentoo mailing list

I format external nvme SSD (M.2) drive as NTFS on Windows (to store some pictures etc.)
But when I insert the drive on Linux box (it has support for NTFS enabled) I get an error:

 sda: sda1 sda2
 sd 4:0:0:0: [sda] Attached SCSI disk
 ntfs: (device sda2): parse_options(): Unrecognized mount option windows_names.



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] external (NFTS) USB 2TB stick error mount.
  2021-11-01 21:41 [gentoo-user] external (NFTS) USB 2TB stick error mount thelma
@ 2021-11-01 21:50 ` Michael
  2021-11-01 21:57   ` thelma
  2021-11-01 22:47 ` [gentoo-user] " Grant Edwards
  1 sibling, 1 reply; 10+ messages in thread
From: Michael @ 2021-11-01 21:50 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 382 bytes --]

On Monday, 1 November 2021 21:41:24 GMT thelma@sys-concept.com wrote:
> I format external nvme SSD (M.2) drive as NTFS on Windows (to store some
> pictures etc.) But when I insert the drive on Linux box (it has support for
> NTFS enabled) I get an error:
> 
>  sda: sda1 sda2
>  sd 4:0:0:0: [sda] Attached SCSI disk

Stop right there.

You need NVME Support enabled in your kernel.

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] external (NFTS) USB 2TB stick error mount.
  2021-11-01 21:50 ` Michael
@ 2021-11-01 21:57   ` thelma
  2021-11-01 21:58     ` Michael
  0 siblings, 1 reply; 10+ messages in thread
From: thelma @ 2021-11-01 21:57 UTC (permalink / raw
  To: gentoo-user

On 11/1/21 3:50 PM, Michael wrote:
> On Monday, 1 November 2021 21:41:24 GMT thelma@sys-concept.com wrote:
>> I format external nvme SSD (M.2) drive as NTFS on Windows (to store some
>> pictures etc.) But when I insert the drive on Linux box (it has support for
>> NTFS enabled) I get an error:
>>
>>  sda: sda1 sda2
>>  sd 4:0:0:0: [sda] Attached SCSI disk
> 
> Stop right there.
> 
> You need NVME Support enabled in your kernel.
> 

I DO have NVME support enabled.  My main drive is "nvme"

But I think I need package: 
sys-fs/ntfs3g


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] external (NFTS) USB 2TB stick error mount.
  2021-11-01 21:57   ` thelma
@ 2021-11-01 21:58     ` Michael
  0 siblings, 0 replies; 10+ messages in thread
From: Michael @ 2021-11-01 21:58 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 737 bytes --]

On Monday, 1 November 2021 21:57:04 GMT thelma@sys-concept.com wrote:
> On 11/1/21 3:50 PM, Michael wrote:
> > On Monday, 1 November 2021 21:41:24 GMT thelma@sys-concept.com wrote:
> >> I format external nvme SSD (M.2) drive as NTFS on Windows (to store some
> >> pictures etc.) But when I insert the drive on Linux box (it has support
> >> for
> >> 
> >> NTFS enabled) I get an error:
> >>  sda: sda1 sda2
> >>  sd 4:0:0:0: [sda] Attached SCSI disk
> > 
> > Stop right there.
> > 
> > You need NVME Support enabled in your kernel.
> 
> I DO have NVME support enabled.  My main drive is "nvme"
> 
> But I think I need package:
> sys-fs/ntfs3g

Yes, I thought you had this installed.  You'll need it to be able to read and 
write to NTFS.

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [gentoo-user] Re: external (NFTS) USB 2TB stick error mount.
  2021-11-01 21:41 [gentoo-user] external (NFTS) USB 2TB stick error mount thelma
  2021-11-01 21:50 ` Michael
@ 2021-11-01 22:47 ` Grant Edwards
  2021-11-01 22:59   ` thelma
  1 sibling, 1 reply; 10+ messages in thread
From: Grant Edwards @ 2021-11-01 22:47 UTC (permalink / raw
  To: gentoo-user

On 2021-11-01, thelma@sys-concept.com <thelma@sys-concept.com> wrote:

> I format external nvme SSD (M.2) drive as NTFS on Windows (to store
> some pictures etc.)  But when I insert the drive on Linux box (it
> has support for NTFS enabled) I get an error:

Please define what you mean by "it has support for NTFS enabled".

Are you running a v5.15 kernel with the new in-tree NTFS driver?

Are you using the ntfs3g FUSE driver?

Are you using the old, read-only NTFS in-tree driver?




^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] Re: external (NFTS) USB 2TB stick error mount.
  2021-11-01 22:47 ` [gentoo-user] " Grant Edwards
@ 2021-11-01 22:59   ` thelma
  2021-11-01 23:09     ` Grant Edwards
  0 siblings, 1 reply; 10+ messages in thread
From: thelma @ 2021-11-01 22:59 UTC (permalink / raw
  To: gentoo-user

On 11/1/21 4:47 PM, Grant Edwards wrote:
> On 2021-11-01, thelma@sys-concept.com <thelma@sys-concept.com> wrote:
> 
>> I format external nvme SSD (M.2) drive as NTFS on Windows (to store
>> some pictures etc.)  But when I insert the drive on Linux box (it
>> has support for NTFS enabled) I get an error:
> 
> Please define what you mean by "it has support for NTFS enabled".
> 
> Are you running a v5.15 kernel with the new in-tree NTFS driver?
> 
> Are you using the ntfs3g FUSE driver?
> 
> Are you using the old, read-only NTFS in-tree driver?

I'm using kernel:  5.4.72-gentoo

Under:  File systems:
    DOS/FAT/NT Filesystems:
        <*> MSDOS fs support 
       - <*> VFAT (Windows-95) fs support 
       - <*> NTFS file system support 
       - [*]   NTFS write support   
 After installing sys-fs/ntfs3g
It keeps telling I don't have:
CONFIG_FUSE_FS:	 is not set when it should be.

I think I need to enable:
< > FUSE (Filesystem in Userspace) support 



^ permalink raw reply	[flat|nested] 10+ messages in thread

* [gentoo-user] Re: external (NFTS) USB 2TB stick error mount.
  2021-11-01 22:59   ` thelma
@ 2021-11-01 23:09     ` Grant Edwards
  2021-11-02  8:57       ` Michael
  2021-11-04 22:38       ` Laurence Perkins
  0 siblings, 2 replies; 10+ messages in thread
From: Grant Edwards @ 2021-11-01 23:09 UTC (permalink / raw
  To: gentoo-user

On 2021-11-01, thelma@sys-concept.com <thelma@sys-concept.com> wrote:
> On 11/1/21 4:47 PM, Grant Edwards wrote:
>> On 2021-11-01, thelma@sys-concept.com <thelma@sys-concept.com> wrote:
>> 
>>> I format external nvme SSD (M.2) drive as NTFS on Windows (to store
>>> some pictures etc.)  But when I insert the drive on Linux box (it
>>> has support for NTFS enabled) I get an error:
>> 
>> Please define what you mean by "it has support for NTFS enabled".
>> 
>> Are you running a v5.15 kernel with the new in-tree NTFS driver?
>> 
>> Are you using the ntfs3g FUSE driver?
>> 
>> Are you using the old, read-only NTFS in-tree driver?
>
> I'm using kernel:  5.4.72-gentoo
>
> Under:  File systems:
>     DOS/FAT/NT Filesystems:
>         <*> MSDOS fs support 
>        - <*> VFAT (Windows-95) fs support 
>        - <*> NTFS file system support 
>        - [*]   NTFS write support   
>  After installing sys-fs/ntfs3g
> It keeps telling I don't have:
> CONFIG_FUSE_FS:	 is not set when it should be.

OK, that's what is referred to as the old read-only in-tree driver. It
has had experimental write support for a long time, but people still
call it "the read-only driver". Most people "in the know" seem to
advise that the write support should not be used, and many advise not
using that driver it at all. The ntfs-3g FUSE driver is usually
recommended instead.

> I think I need to enable:
>< > FUSE (Filesystem in Userspace) support 

You need that if you want to use the ntfs-3g FUSE driver.

IIRC, the ntfs-3g driver supports a number features that the old
in-tree read-only driver (which you are using) does not. The
"windows_name" option appears to be one of those.

If you want to use the windows_name option, you'll probably have to
disable the in-tree driver and use the ntfs-3g one. It might be
possible to use ntfs-3g without disabling the in-tree driver, but that
sounds like a good way to get confused...

--
Grant




^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] Re: external (NFTS) USB 2TB stick error mount.
  2021-11-01 23:09     ` Grant Edwards
@ 2021-11-02  8:57       ` Michael
  2021-11-04 22:38       ` Laurence Perkins
  1 sibling, 0 replies; 10+ messages in thread
From: Michael @ 2021-11-02  8:57 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 2562 bytes --]

On Monday, 1 November 2021 23:09:36 GMT Grant Edwards wrote:
> On 2021-11-01, thelma@sys-concept.com <thelma@sys-concept.com> wrote:
> > On 11/1/21 4:47 PM, Grant Edwards wrote:
> >> On 2021-11-01, thelma@sys-concept.com <thelma@sys-concept.com> wrote:
> >>> I format external nvme SSD (M.2) drive as NTFS on Windows (to store
> >>> some pictures etc.)  But when I insert the drive on Linux box (it
> >> 
> >>> has support for NTFS enabled) I get an error:
> >> Please define what you mean by "it has support for NTFS enabled".
> >> 
> >> Are you running a v5.15 kernel with the new in-tree NTFS driver?
> >> 
> >> Are you using the ntfs3g FUSE driver?
> >> 
> >> Are you using the old, read-only NTFS in-tree driver?
> > 
> > I'm using kernel:  5.4.72-gentoo
> > 
> > Under:  File systems:
> >     DOS/FAT/NT Filesystems:
> >         <*> MSDOS fs support
> >        
> >        - <*> VFAT (Windows-95) fs support
> >        - <*> NTFS file system support
> >        - [*]   NTFS write support
> >  
> >  After installing sys-fs/ntfs3g
> > 
> > It keeps telling I don't have:
> > CONFIG_FUSE_FS:	 is not set when it should be.
> 
> OK, that's what is referred to as the old read-only in-tree driver. It
> has had experimental write support for a long time, but people still
> call it "the read-only driver". Most people "in the know" seem to
> advise that the write support should not be used, and many advise not
> using that driver it at all. The ntfs-3g FUSE driver is usually
> recommended instead.

Best to disable the in-kernel write support.  There was a warning it could 
corrupt a fs, unless you were overwriting an existing file with another file 
of exactly the same size.


> > I think I need to enable:
> >< > FUSE (Filesystem in Userspace) support
> 
> You need that if you want to use the ntfs-3g FUSE driver.

Yes.


> IIRC, the ntfs-3g driver supports a number features that the old
> in-tree read-only driver (which you are using) does not. The
> "windows_name" option appears to be one of those.
> 
> If you want to use the windows_name option, you'll probably have to
> disable the in-tree driver and use the ntfs-3g one. It might be
> possible to use ntfs-3g without disabling the in-tree driver, but that
> sounds like a good way to get confused...
> 
> --
> Grant

Have a look here, which explains what is needed for ntfs-3g:

https://wiki.gentoo.org/wiki/NTFS

PS.  I recall a case where a corrupted NTFS, I think it was on Win2000, could 
be read by the in-kernel driver.  Neither the native MSWindows OS could read 
it, nor the ntfs-3g.

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* RE: [gentoo-user] Re: external (NFTS) USB 2TB stick error mount.
  2021-11-01 23:09     ` Grant Edwards
  2021-11-02  8:57       ` Michael
@ 2021-11-04 22:38       ` Laurence Perkins
  2021-11-04 22:53         ` Grant Edwards
  1 sibling, 1 reply; 10+ messages in thread
From: Laurence Perkins @ 2021-11-04 22:38 UTC (permalink / raw
  To: gentoo-user@lists.gentoo.org

>> 
>> 
>> -----Original Message-----
>> From: Grant Edwards <grant.b.edwards@gmail.com> 
>> Sent: Monday, November 1, 2021 4:10 PM
>> To: gentoo-user@lists.gentoo.org
>> Subject: [gentoo-user] Re: external (NFTS) USB 2TB stick error mount.
>> 
>> On 2021-11-01, thelma@sys-concept.com <thelma@sys-concept.com> wrote:
>> > On 11/1/21 4:47 PM, Grant Edwards wrote:
>> >> On 2021-11-01, thelma@sys-concept.com <thelma@sys-concept.com> wrote:
>> >> 
>> >>> I format external nvme SSD (M.2) drive as NTFS on Windows (to store 
>> >>> some pictures etc.)  But when I insert the drive on Linux box (it 
>> >>> has support for NTFS enabled) I get an error:
>> >> 
>> >> Please define what you mean by "it has support for NTFS enabled".
>> >> 
>> >> Are you running a v5.15 kernel with the new in-tree NTFS driver?
>> >> 
>> >> Are you using the ntfs3g FUSE driver?
>> >> 
>> >> Are you using the old, read-only NTFS in-tree driver?
>> >
>> > I'm using kernel:  5.4.72-gentoo
>> >
>> > Under:  File systems:
>> >     DOS/FAT/NT Filesystems:
>> >         <*> MSDOS fs support 
>> >        - <*> VFAT (Windows-95) fs support 
>> >        - <*> NTFS file system support 
>> >        - [*]   NTFS write support   
>> >  After installing sys-fs/ntfs3g
>> > It keeps telling I don't have:
>> > CONFIG_FUSE_FS:	 is not set when it should be.
>> 
>> OK, that's what is referred to as the old read-only in-tree driver. It has had experimental write support for a long time, but people still call it "the read-only driver". Most people "in the know" seem to advise that the write support should not be used, and many advise not using that driver it at all. The ntfs-3g FUSE driver is usually recommended instead.
>> 

Because it is read-only for all practical purposes.  Unless there's been a recent improvement its write support technically works, but it can only change the contents of existing files and cannot create new ones.  Works fine for a read-only driver, but not much point to using it unless you're an insane nutjob like me who occasionally needs to boot from NTFS and so needs a driver that can be compiled in.

LMP


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [gentoo-user] Re: external (NFTS) USB 2TB stick error mount.
  2021-11-04 22:38       ` Laurence Perkins
@ 2021-11-04 22:53         ` Grant Edwards
  0 siblings, 0 replies; 10+ messages in thread
From: Grant Edwards @ 2021-11-04 22:53 UTC (permalink / raw
  To: gentoo-user

On 2021-11-04, Laurence Perkins <lperkins@openeye.net> wrote:
>
> Because it is read-only for all practical purposes.  Unless there's
> been a recent improvement its write support technically works, but
> it can only change the contents of existing files and cannot create
> new ones.  Works fine for a read-only driver, but not much point to
> using it unless you're an insane nutjob like me who occasionally
> needs to boot from NTFS and so needs a driver that can be compiled
> in.

You've piqued my curiosity -- how do you end up needing to boot from NTFS?

[It never occurred to me that would even be possible.]


--
Grant



^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2021-11-04 22:53 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-11-01 21:41 [gentoo-user] external (NFTS) USB 2TB stick error mount thelma
2021-11-01 21:50 ` Michael
2021-11-01 21:57   ` thelma
2021-11-01 21:58     ` Michael
2021-11-01 22:47 ` [gentoo-user] " Grant Edwards
2021-11-01 22:59   ` thelma
2021-11-01 23:09     ` Grant Edwards
2021-11-02  8:57       ` Michael
2021-11-04 22:38       ` Laurence Perkins
2021-11-04 22:53         ` Grant Edwards

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox