How can I mount Sony Walkman so I may transfer files.

Just purchased a walkman NWZ-A15 with card additional memory added as present for SWMBO. I want to transfer our music data on to the new device but am stuck. I confess I tried using her windoze 10 machine but couldn’t find my way around my network so am trying with my own workstation, LEAP 42.1 with KDE plasma 5 desktop.

When I try and mount the device (using dolphin,) I get a red box message

  An error occurred while accessing 'SD_CARD', the system responded: The requested operation has failed: Error mounting /dev/sdb1 at /run/media/alastair/SD_CARD: Command-line `mount -t "exfat" -o "uhelper=udisks2,nodev,nosuid,uid=1000,gid=100,iocharset=utf8,namecase=0,errors=remount-ro,umask=0077" "/dev/sdb1" "/run/media/alastair/SD_CARD"' exited with non-zero exit status 32: mount: unknown filesystem type 'exfat'

 

fdisk -l gives me:-

ibmserver3:~ # fdisk -l

Disk /dev/sda: 1.8 TiB, 1997998653440 bytes, 3902341120 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: A56596F4-51F7-4D66-AFB0-7A2E79F8A9A9

Device        Start        End    Sectors  Size Type
/dev/sda1      2048     321535     319488  156M EFI System
/dev/sda2    321536    4530175    4208640    2G Microsoft basic data
/dev/sda3   4530176   88422399   83892224   40G Microsoft basic data
/dev/sda4  88422400 1766137855 1677715456  800G Microsoft basic data

Disk /dev/sdb: 59.5 GiB, 63864569856 bytes, 124735488 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x00000000

Device     Boot Start       End   Sectors  Size Id Type
/dev/sdb1       32768 124735487 124702720 59.5G  7 HPFS/NTFS/exFAT

ibmserver3:~ # 

I am a bit confused by the references to “Microsoft basic data” sda1 is EFI partition but sda 2-4 are Linux swap, BTRFS root and XFS data partitions respectively.

sdb is sony walkman.

Any suggestions as to how to mount it please?

Budgie2

Hi
Install the fuse-exfat and exfat-utils packages from the filesystems repo :wink:

http://download.opensuse.org/repositories/filesystems/openSUSE_Leap_42.1/

Should then mount the device fine…

Both packages are available from packman, so most likely adding extra repositories will not be necessary (as packman ist the most wide-spread 3rd party repo).

AK

On Tue 03 May 2016 10:16:02 PM CDT, Akoellh wrote:

malcolmlewis;2777331 Wrote:
> Hi
> Install the fuse-exfat and exfat-utils packages from the filesystems
> repo :wink:
>

Both packages are available from packman, so most likely adding extra
repositories will not be necessary (as packman ist the most wide-spread
3rd party repo).

http://packman.links2linux.org/search/exfat

AK

Hi
They are just links to the filesystem repo… I don’t use packman
as a defined repo, just a few packages.


Cheers Malcolm °¿° LFCS, SUSE Knowledge Partner (Linux Counter #276890)
openSUSE Leap 42.1|GNOME 3.16.2|4.1.20-11-default
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below… Thanks!

Be that as it may, I just wanted to point out, that if a user already has packman enabled (which is quite likely),
then adding another repo will be unnecessary, especially if those packages are virtually identical (which would be the case if one is just a link to the other).

AK

Hi Malcolm and AK,
Many many thanks. I already had repo link via packman so installation fast and working and device mounted perfectly.

Sadly copying files using dolphin and copy and paste not working correctly. It managed to copy a directory and its subdirectories but of files therein only 10 or so out of 2000+ copied. Possibly permissions issue but cannot find it yet. Not sure I will crack it before departing but will work at it tonight between packing.
Meanwhile have windoze working on problem after a fashion and better than my linux attempts so far.

Will report back with problem details when I can.
Budgie2

Hi, back from trip and now trying to address the problems I was having copying music files to Walkman SD card.
Of those data which have been copied I find that some directories have not been given their correct names but names such as 1FCW1G~X.
If I open a directory like that the music files are sometimes there but with similar names. Sometimes the directories are empty even when file names are correct.
I have distant memories of name length restrictions associated with Windoze or “illegal” characters. Could that be the problem here and if so what is the way to overcome the restriction?
Budgie2

On Sat 28 May 2016 04:46:01 PM CDT, Budgie2 wrote:

Budgie2;2777420 Wrote:
> Hi Malcolm and AK,
> Many many thanks. I already had repo link via packman so installation
> fast and working and device mounted perfectly.
>
> Sadly copying files using dolphin and copy and paste not working
> correctly. It managed to copy a directory and its subdirectories but
> of files therein only 10 or so out of 2000+ copied. Possibly
> permissions issue but cannot find it yet. Not sure I will crack it
> before departing but will work at it tonight between packing.
> Meanwhile have windoze working on problem after a fashion and better
> than my linux attempts so far.
>
> Will report back with problem details when I can.
> Budgie2

Hi, back from trip and now trying to address the problems I was having
copying music files to Walkman SD card.
Of those data which have been copied I find that some directories have
not been given their correct names but names such as 1FCW1G~X.
If I open a directory like that the music files are sometimes there but
with similar names. Sometimes the directories are empty even when file
names are correct.
I have distant memories of name length restrictions associated with
Windoze or “illegal” characters. Could that be the problem here and if
so what is the way to overcome the restriction?
Budgie2

Hi
Examples of the commands your running and the result would help :wink:

eg;


ls -la <some_long_filename>
cp <some_long_filename> /your/mnt/point/<some_long_filename>
ls -la /your/mnt/point/<some.?>

It maybe spaces in the filenames? If you use tab completion (as in
type part of the filename then press the tab key) with the cp command it
should add a \ for the space.


Cheers Malcolm °¿° LFCS, SUSE Knowledge Partner (Linux Counter #276890)
openSUSE Leap 42.1|GNOME 3.16.2|4.1.21-14-default
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below… Thanks!

Hi Malcolm,
Trying to do as you suggest but fallen at the last fence. Here are my efforts so far:-

alastair@ibmserver2:~/mastermedia/Music/Liturgical/Bach, Johann Sebastian (1685-1750)/Bach_-_Cantatas_[Disk_01]_BWV_63,191_(Gardiner)> ls -la
total 200832
drwxr-xr-x  2 alastair users     4096 May 28 18:18 .
drwxr-xr-x 39 alastair users     4096 May 28 18:20 ..
-rw-r--r--  1 alastair users 26939522 Mar 12 18:21 01_-_Cantata_No._63,_'Christen,_ätzet_diesen_Tag'_BWV_63_Coro:_-_Christen,_ätzet_diesen_Tag.flac
-rw-r--r--  1 alastair users 14102335 Mar 12 18:21 02_-_Cantata_No._63,_'Christen,_ätzet_diesen_Tag,'_BWV_63_Recitativo:_O_sel'ger_Tag!.flac
-rw-r--r--  1 alastair users 32183578 Mar 12 18:21 03_-_Cantata_No._63,_'Christen,_ätzet_diesen_Tag,'_BWV_63_Aria:_Gott,_du_hast_es_wohlgefüget.flac
-rw-r--r--  1 alastair users  3499000 Mar 12 18:22 04_-_Cantata_No._63,_'Christen,_ätzet_diesen_Tag,'_BWV_63_Recitativo:_So_kehret_sich_nun_heut.flac
-rw-r--r--  1 alastair users 17339907 Mar 12 18:22 05_-_Cantata_No._63,_'Christen,_ätzet_diesen_Tag,'_BWV_63_Aria:_Ruft_und_fleht_den_Himmel_an.flac
-rw-r--r--  1 alastair users  4405549 Mar 12 18:22 06_-_Cantata_No._63,_'Christen,_ätzet_diesen_Tag,'_BWV_63_Recitativo:_Verdoppelt_euch_demnach.flac
-rw-r--r--  1 alastair users 34833912 Mar 12 18:23 07_-_Cantata_No._63,_'Christen,_ätzet_diesen_Tag,'_BWV_63_Coro:_Höchster,_schau_in_Gnaden_an.flac
-rw-r--r--  1 alastair users 32295561 Mar 12 18:23 08_-_Cantata_No._191,_'Gloria_in_excelsis_Deo,'_BWV_191_Coro:_Gloria_in_excelsis_Deo.flac
-rw-r--r--  1 alastair users 17841534 Mar 12 18:23 09_-_Cantata_No._191,_'Gloria_in_excelsis_Deo,'_BWV_191_Aria:_Gloria_Patri.flac
-rw-r--r--  1 alastair users 22177413 Mar 12 18:24 10_-_Cantata_No._191,_'Gloria_in_excelsis_Deo,'_BWV_191_Coro:_Sicut_erat_in_principio.flac
-rw-------  1 alastair users       90 Mar 12 16:23 .directory
alastair@ibmserver2:~/mastermedia/Music/Liturgical/Bach, Johann Sebastian (1685-1750)/Bach_-_Cantatas_[Disk_01]_BWV_63,191_(Gardiner)> cp 01_-_Cantata_No._63\,_\'Christen\,_ätzet_diesen_Tag\'_BWV_63_Coro\:_-_Christen\,_ätzet_diesen_Tag.flac /run/media/alastair/SD_CARD/MUSIC/Liturgical/"Bach,Johann Sebastian (1685-1750)"/01_-_Cantata_No._63,_'Christen,_atzet_diesen_Tag'_BWV_63_Coro:_-_Christen,_atzet_diesen_Tag.flac
cp: cannot create regular file ‘/run/media/alastair/SD_CARD/MUSIC/Liturgical/Bach,Johann Sebastian (1685-1750)/01_-_Cantata_No._63,_Christen,_atzet_diesen_Tag_BWV_63_Coro:_-_Christen,_atzet_diesen_Tag.flac’: No such file or directory
alastair@ibmserver2:~/mastermedia/Music/Liturgical/Bach, Johann Sebastian (1685-1750)/Bach_-_Cantatas_[Disk_01]_BWV_63,191_(Gardiner)> cp 01_-_Cantata_No._63\,_\'Christen\,_ätzet_diesen_Tag\'_BWV_63_Coro\:_-_Christen\,_ätzet_diesen_Tag.flac /run/media/alastair/SD_CARD/MUSIC/Liturgical/Bach,Johann Sebastian (1685-1750)/01_-_Cantata_No._63,_'Christen,_atzet_diesen_Tag'_BWV_63_Coro:_-_Christen,_atzet_diesen_Tag.flac
bash: syntax error near unexpected token `('
alastair@ibmserver2:~/mastermedia/Music/Liturgical/Bach, Johann Sebastian (1685-1750)/Bach_-_Cantatas_[Disk_01]_BWV_63,191_(Gardiner)&gt; cp 01_-_Cantata_No._63\,_\'Christen\,_ätzet_diesen_Tag\'_BWV_63_Coro\:_-_Christen\,_ätzet_diesen_Tag.flac /run/media/alastair/SD_CARD/MUSIC/Liturgical/Bach,Johann Sebastian (1685-1750)/01_-_Cantata_No._63,_Christen,_atzet_diesen_Tag_BWV_63_Coro:_-_Christen,_atzet_diesen_Tag.flac                                                                                                                         
bash: syntax error near unexpected token `('                                                                                                                                       
alastair@ibmserver2:~/mastermedia/Music/Liturgical/Bach, Johann Sebastian (1685-1750)/Bach_-_Cantatas_[Disk_01]_BWV_63,191_(Gardiner)> 

I cannot get the cp to run and cannot see the syntax error (through my ignorance). Also I could not get the diacritical mark on the a (as ä) to work in the console.

I think you can see the potential problem with file names but I have now changed my tagging software to be Windoze aware and remove “illegal” characters.

Gratefull for your further help when you have time.
Regards,
Budgie2

Hi
I would say a file name clean up is required… esp the commas. What about the mounted device, check it’s not ro, and is mounted exfat via;


mount |grep SD_CARD

Hi Malcolm,

I believe the device is mounted OK:-

alastair@ibmserver2:~> mount |grep SD_CARD
/dev/sdb1 on /run/media/alastair/SD_CARD type fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096,uhelper=udisks2)
alastair@ibmserver2:~> 

I understand your point about cleaning up file names and will try and get them consistent. There is a problem with some classical stuff though, especially the Bach Cantatas which is where I have started.
BTW what is the character limit on this file system? I assume it includes the full path. Is that correct?

Just a thought, would I have this problem on an android based device or could it use longer file names? Just a thought as it looks like I have several thousand files to re-name and tag edit.

Regards,
Budgie2

On Sat 28 May 2016 10:36:01 PM CDT, Budgie2 wrote:

Hi Malcolm,

I believe the device is mounted OK:-

Code:

alastair@ibmserver2:~> mount |grep SD_CARD
/dev/sdb1 on /run/media/alastair/SD_CARD type fuseblk
(rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096,uhelper=udisks2)
alastair@ibmserver2:~>

I understand your point about cleaning up file names and will try and
get them consistent. There is a problem with some classical stuff
though, especially the Bach Cantatas which is where I have started.
BTW what is the character limit on this file system? I assume it
includes the full path. Is that correct?

Just a thought, would I have this problem on an android based device or
could it use longer file names? Just a thought as it looks like I have
several thousand files to re-name and tag edit.

Regards,
Budgie2

Hi
Try just copying a folder with cp -ar <some_folder> to the target then
(it will copy the underlying files as well) and see if that works.

The character limit is 255 so as long as that’s not exceeded all should
be fine.


Cheers Malcolm °¿° LFCS, SUSE Knowledge Partner (Linux Counter #276890)
openSUSE Leap 42.1|GNOME 3.16.2|4.1.21-14-default
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below… Thanks!