You are not logged in.

#1 2014-10-24 13:48:05

boriscougar
Member
From: Guatemala
Registered: 2008-10-11
Posts: 30
Website

[SOLVED]SSD F2FS Filesystem issue, folders w/ latin characters not sho

Hi,

As i got a new laptopt with ssd i thought about installing arch on it, it was great smile but right now i'm having a couple of issues, first of all i selected f2fs to be my / filesystem. But since a couple of reboots (and some hard reboots) some folders dont show up and ls shows a file not found message:

[boris@arch ~]$ ls
ls: no se puede acceder a Público: No existe el fichero o el directorio
ls: no se puede acceder a Música: No existe el fichero o el directorio
ls: no se puede acceder a Imágenes: No existe el fichero o el directorio
ls: no se puede acceder a Vídeos: No existe el fichero o el directorio
Descargas   Escritorio  Música      Público  Work
Documentos  Imágenes    Plantillas  Vídeos

Weird enough is the fact that it happened only with ó ú á and those kind of characters, I've already tried to use fsck.f2fs while booting up with well no changes... (i guess it does nothing :'( )

Another weird fact is that my freespace is the same when i had those folders,

The metadata on the folders shows just question marks with ls -al

d?????????   ? ?     ?         ?            ? Imágenes
drwx------   3 boris boris  4096 sep 25 08:01 .local
drwx------   3 boris boris  4096 sep 26 11:48 .macromedia
drwx------   4 boris boris  4096 sep 25 08:52 .mozilla
d?????????   ? ?     ?         ?            ? Música
drwxr-xr-x   5 boris boris  4096 oct  4 19:30 .mypaint
drwxr-xr-x 398 boris boris 53248 oct 13 13:53 .npm
-rw-------   1 boris boris   188 sep 28 23:04 .npmrc
drwx------   3 boris boris  4096 sep 26 11:52 .pki
drwxr-xr-x   2 boris boris  4096 sep 25 08:01 Plantillas
d?????????   ? ?     ?         ?            ? Público
drwx------   2 boris boris  4096 sep 29 21:48 .ssh
drwxr-xr-x   3 boris boris  4096 sep 25 15:41 .subversion
drwx------   3 boris boris  4096 oct  6 19:32 .thumbnails
d?????????   ? ?     ?         ?            ? Vídeos
drwxr-xr-x   9 boris boris  4096 oct 15 08:20 Work

and hummm well i'm clueless on what to do to fix it tongue i've even recreated those folders but that makes duplicate entries with ls and the same name

[boris@arch ~]$ ls
Descargas   Escritorio  Imágenes  Música      Público  Vídeos  Work
Documentos  Imágenes    Música    Plantillas  Público  Vídeos

Anyway if someone has any information about this well i would be glad to hear about it smile


EDIT:

Solved by going back to older kernel (3.16) renaming folders with non-ascii characters updating and renaming folders back to ascii characters.

Last edited by boriscougar (2015-02-24 14:11:30)

Offline

#2 2014-10-25 12:00:46

Soukyuu
Member
Registered: 2014-04-08
Posts: 854

Re: [SOLVED]SSD F2FS Filesystem issue, folders w/ latin characters not sho

Seems the new kernel somehow broke f2fs for anything containing non-ascii characters. Related: https://bbs.archlinux.org/viewtopic.php?id=188901


[ Arch x86_64 | linux | Framework 13 | AMD Ryzen™ 5 7640U | 32GB RAM | KDE Plasma Wayland ]

Offline

#3 2014-10-25 18:09:49

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED]SSD F2FS Filesystem issue, folders w/ latin characters not sho

Not a Sysadmin issue, moving to NC...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#4 2014-10-25 19:48:40

smirky
Member
From: Bulgaria
Registered: 2013-02-23
Posts: 277
Website

Re: [SOLVED]SSD F2FS Filesystem issue, folders w/ latin characters not sho

You can try:

$ echo 'LANG=en_US.UTF8' > /etc/locale.conf

or another locale if you haven't done so already. Share some feedback if it helps.


Personal spot  ::  https://www.smirky.net/  ::  Try not to get lost!

Offline

#5 2014-10-27 22:19:26

boriscougar
Member
From: Guatemala
Registered: 2008-10-11
Posts: 30
Website

Re: [SOLVED]SSD F2FS Filesystem issue, folders w/ latin characters not sho

well my locale is:

[boris@arch ~]$ cat /etc/locale.conf 
LANG=es_GT.utf8

and well that way doesn't work,

with lts kernel as suggested by @Soukyuu its working again smile

Edit:

But that leaves me worried, because as @Sokyuu noticed there seems to be a backward-compatibility issue, because creating files and folders with non-ascii characters under f2fs and newer linux kernel works but older created files and folders with non-ascii characters doesn't work... i guess ill move my folders to ascii ones, upgrade and then recreate them. (I don't think that is feasible for some people)

Last edited by boriscougar (2014-10-27 22:25:49)

Offline

#6 2015-02-24 14:06:34

boriscougar
Member
From: Guatemala
Registered: 2008-10-11
Posts: 30
Website

Re: [SOLVED]SSD F2FS Filesystem issue, folders w/ latin characters not sho

Just to close up this thread, use an 3.16 kernel, rename folders with weird characters and then boot with a newer kernel, put back any non-asciii character into the renamed folders and thats it smile

Offline

Board footer

Powered by FluxBB