Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 05/03/2025, à 10:20

yodhai

[Résolu]Disque dur externe en fat32 et ntfs qui n'est monté sur Ubuntu

Bonjour,
j'ai deux disques durs externes, un en fat32 et un autre  en ntfs que j'utilise sur Ubuntu et sur Windows.
Depuis quelque temps,peut être en raison d'une mise à jour, je n'arrive pas à monter ses disques durs externes sur mon pc Ubuntu, seulement sur le pc windows.
Après quelques recherches, j'arrive à solutionner le problème de manière ponctuelle à l'aide de commande ( que je ne comprends pas , mais à qui marche)

sudo apt-get install ntfs-3g

sudo mount /dev/sda /mnt

sudo mount -a

sudo mount -t ntfs-3g /dev/sda1 /mnt

sudo mount -t ntfs-3g /dev/sda1 /mnt

Mais à chaque fois que je rebranche mes disque dur sur mon pc ubuntu, les disques ne sont pas reconnus.

J'ai branché mes deux disques dur et voici le retour des commandes suivantes:

df -h
Sys. de fichiers Taille Utilisé Dispo Uti% Monté sur
tmpfs              768M    2,5M  766M   1% /run
/dev/nvme0n1p2     233G    101G  121G  46% /
tmpfs              3,8G    4,0K  3,8G   1% /dev/shm
tmpfs              5,0M    8,0K  5,0M   1% /run/lock
efivarfs           192K    112K   76K  60% /sys/firmware/efi/efivars
/dev/nvme0n1p1     1,1G    6,2M  1,1G   1% /boot/efi
tmpfs              768M    2,6M  766M   1% /run/user/1000
lsblk
NAME        MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
loop0         7:0    0     4K  1 loop /snap/bare/5
loop1         7:1    0  73,9M  1 loop /snap/core22/1722
loop2         7:2    0  73,9M  1 loop /snap/core22/1748
loop3         7:3    0 269,8M  1 loop /snap/firefox/4793
loop4         7:4    0 273,7M  1 loop /snap/firefox/5437
loop5         7:5    0  11,1M  1 loop /snap/firmware-updater/167
loop6         7:6    0  11,1M  1 loop /snap/firmware-updater/147
loop7         7:7    0 505,1M  1 loop /snap/gnome-42-2204/176
loop8         7:8    0   516M  1 loop /snap/gnome-42-2204/202
loop9         7:9    0  91,7M  1 loop /snap/gtk-common-themes/1535
loop10        7:10   0  22,9M  1 loop /snap/pdfarranger/37
loop11        7:11   0  22,8M  1 loop /snap/pdfarranger/39
loop12        7:12   0  10,8M  1 loop /snap/snap-store/1244
loop13        7:13   0  10,8M  1 loop /snap/snap-store/1248
loop14        7:14   0  44,3M  1 loop /snap/snapd/23258
loop15        7:15   0  44,4M  1 loop /snap/snapd/23545
loop16        7:16   0   500K  1 loop /snap/snapd-desktop-integration/178
loop17        7:17   0   568K  1 loop /snap/snapd-desktop-integration/253
loop18        7:18   0 210,4M  1 loop /snap/thunderbird/663
loop19        7:19   0 109,6M  1 loop /snap/xournalpp/100
loop20        7:20   0 150,6M  1 loop /snap/thunderbird/609
loop21        7:21   0   128M  1 loop /snap/xournalpp/97
nvme0n1     259:0    0 238,5G  0 disk 
├─nvme0n1p1 259:1    0     1G  0 part /boot/efi
└─nvme0n1p2 259:2    0 237,4G  0 part /
lsblk -f
NAME FSTYPE FSVER LABEL UUID                                 FSAVAIL FSUSE% MOUNTPOINTS
loop0
     squash 4.0                                                    0   100% /snap/bare/5
loop1
     squash 4.0                                                    0   100% /snap/core22/1722
loop2
     squash 4.0                                                    0   100% /snap/core22/1748
loop3
     squash 4.0                                                    0   100% /snap/firefox/4793
loop4
     squash 4.0                                                    0   100% /snap/firefox/5437
loop5
     squash 4.0                                                    0   100% /snap/firmware-updater/167
loop6
     squash 4.0                                                    0   100% /snap/firmware-updater/147
loop7
     squash 4.0                                                    0   100% /snap/gnome-42-2204/176
loop8
     squash 4.0                                                    0   100% /snap/gnome-42-2204/202
loop9
                                                                   0   100% /snap/gtk-common-themes/1535
loop10
                                                                   0   100% /snap/pdfarranger/37
loop11
                                                                   0   100% /snap/pdfarranger/39
loop12
                                                                   0   100% /snap/snap-store/1244
loop13
     squash 4.0                                                    0   100% /snap/snap-store/1248
loop14
     squash 4.0                                                    0   100% /snap/snapd/23258
loop15
                                                                   0   100% /snap/snapd/23545
loop16
                                                                   0   100% /snap/snapd-desktop-integration/178
loop17
                                                                   0   100% /snap/snapd-desktop-integration/253
loop18
                                                                   0   100% /snap/thunderbird/663
loop19
                                                                   0   100% /snap/xournalpp/100
loop20
                                                                   0   100% /snap/thunderbird/609
loop21
                                                                   0   100% /snap/xournalpp/97
nvme0n1
                                                                            
├─nvme0n1p1
│    vfat   FAT32       785B-7291                                 1G     1% /boot/efi
└─nvme0n1p2
     ext4   1.0         30b080f2-268c-43a1-b8ee-78d6cc7fdc49  120,5G    43% /

Je précise que je n'ai aucune compétence pointue en informatique-ubuntu.

Merci pour votre aide.

Dernière modification par yodhai (Le 09/03/2025, à 18:36)

Hors ligne

#2 Le 05/03/2025, à 14:24

geole

Re : [Résolu]Disque dur externe en fat32 et ntfs qui n'est monté sur Ubuntu

Bonjour.
Ta partition externe FAT32 a été certainement mal démontée.
Pour la réparer

sudo fsck -yv /dev/sda1

Puis tu débranches et tu rebranches le disque.

Ta partition externe NTFS est certainement avec quelques anomalies. Le vieux pilote ntfs-3g s'en accommode  mais pas le pilote standard ( ntfs3 ).
Pour réparer.

sudo ntfsfix -d /dev/sda1

Puis tu débranches et rebranches le disque.

Dernière modification par geole (Le 05/03/2025, à 14:25)


Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity

Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

Hors ligne

#3 Le 05/03/2025, à 14:52

yodhai

Re : [Résolu]Disque dur externe en fat32 et ntfs qui n'est monté sur Ubuntu

Merci pour votre aide.

J'ai suivi les instructions avec les commandes mais ça n'a pas solutionné le problème.
Mes deux disques durs externes ne sont toujours pas montés ( reconnus) malgré les commandes et avoir débranché et rebranché.

Pour le DD externe en FAT32

sudo fsck -yv /dev/sda1
fsck de util-linux 2.39.3

Pour le DD en NTFS

 sudo ntfsfix -d /dev/sda1
Mounting volume... OK
Processing of $MFT and $MFTMirr completed successfully.
Checking the alternate boot sector... OK
NTFS volume version is 3.1.
NTFS partition /dev/sda1 was processed successfully.

Hors ligne

#4 Le 05/03/2025, à 16:58

geole

Re : [Résolu]Disque dur externe en fat32 et ntfs qui n'est monté sur Ubuntu

Donne ce retour

journalctl --no-pager -b -n 50 -g sda

Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity

Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

Hors ligne

#5 Le 05/03/2025, à 18:28

iznobe

Re : [Résolu]Disque dur externe en fat32 et ntfs qui n'est monté sur Ubuntu

Bonjour , question bete , mais comment la partition sda1 pourrait etre à la fois partitionnée en VFAT et en NTFS ???

Pour le DD externe en FAT32

sudo fsck -yv /dev/sda1
fsck de util-linux 2.39.3

Pour le DD en NTFS

sudo ntfsfix -d /dev/sda1
Mounting volume... OK
Processing of $MFT and $MFTMirr completed successfully.
Checking the alternate boot sector... OK
NTFS volume version is 3.1.
NTFS partition /dev/sda1 was processed successfully.

en plus on ne sait pas si il s ' agit réellement de 2 disques comme le dit le demandeur ni si ces disques contiennent plusieurs partitions ou pas , ou de 2 partitions du même disque , ou alors j' ai raté l' info .

bref , il faut brancher les 2 disques attendre 15 secondes , et donner le retour de :

lsblk -fe7 -o+model

et ne pas les débrancher entre temps . avec le résultat on pourra alors traiter correctement .

Dernière modification par iznobe (Le 05/03/2025, à 18:34)


retour COMPLET et utilisable de commande  |  script montage partitions

MSI Z490A-pro , i7 10700 , 32 GB RAM .

Hors ligne

#6 Le 05/03/2025, à 21:32

yodhai

Re : [Résolu]Disque dur externe en fat32 et ntfs qui n'est monté sur Ubuntu

J'ai deux DD externe, 1 DD avec une partition en FAT32 et un autre DD avec une partition en NTFS.

J'ai branché les deux DD et voici le retour :

lsblk -fe7 -o+model
NAME FSTYPE FSVER LABEL    UUID                                 FSAVAIL FSUSE% MOUNTPOINTS MODEL
sdb                                                                                        WDC W
└─sdb1
     vfat   FAT32 WD1T     A24C-A31D                              27,8G    97% /media/origami/WD1T
                                                                                           
sdc                                                                                        WDC W
└─sdc1
     ntfs         Elements 0E3E08363E0818FB                        3,2T    12% /media/origami/Elements
                                                                                           
nvme0n1
                                                                                           FORES
├─nvme0n1p1
│    vfat   FAT32          785B-7291                                 1G     1% /boot/efi   
└─nvme0n1p2
     ext4   1.0            30b080f2-268c-43a1-b8ee-78d6cc7fdc49  116,1G    45% /

et maintenant voici le retour de l'autre commande :

journalctl --no-pager -b -n 50 -g sda
mars 05 15:04:37 origami-SPC-I systemd[2290]: Reached target org.gnome.SettingsDaemon.XSettings.target - GNOME XSettings target.
mars 05 15:04:37 origami-SPC-I systemd[2290]: Started org.gnome.SettingsDaemon.XSettings.service - GNOME XSettings service.
mars 05 15:04:37 origami-SPC-I systemd[2290]: Reached target org.gnome.SettingsDaemon.MediaKeys.target - GNOME keyboard shortcuts target.
mars 05 15:04:37 origami-SPC-I systemd[2290]: Started org.gnome.SettingsDaemon.MediaKeys.service - GNOME keyboard shortcuts service.
mars 05 15:04:37 origami-SPC-I systemd[2290]: Reached target org.gnome.SettingsDaemon.Power.target - GNOME power management target.
mars 05 15:04:37 origami-SPC-I systemd[2290]: Started org.gnome.SettingsDaemon.Power.service - GNOME power management service.
mars 05 15:04:37 origami-SPC-I systemd[2290]: Reached target org.gnome.SettingsDaemon.Rfkill.target - GNOME RFKill support target.
mars 05 15:04:37 origami-SPC-I systemd[2290]: Started org.gnome.SettingsDaemon.Rfkill.service - GNOME RFKill support service.
mars 05 15:04:37 origami-SPC-I systemd[2290]: Reached target org.gnome.SettingsDaemon.Sound.target - GNOME sound sample caching target.
mars 05 15:04:37 origami-SPC-I systemd[2290]: Started org.gnome.SettingsDaemon.Sound.service - GNOME sound sample caching service.
mars 05 15:04:37 origami-SPC-I systemd[2290]: Reached target org.gnome.SettingsDaemon.Wacom.target - GNOME Wacom tablet support target.
mars 05 15:04:37 origami-SPC-I systemd[2290]: Started org.gnome.SettingsDaemon.Wacom.service - GNOME Wacom tablet support service.
mars 05 15:04:37 origami-SPC-I systemd[2290]: Reached target org.gnome.SettingsDaemon.PrintNotifications.target - GNOME printer notifications target.
mars 05 15:04:37 origami-SPC-I systemd[2290]: Started org.gnome.SettingsDaemon.PrintNotifications.service - GNOME printer notifications service.
mars 05 15:04:36 origami-SPC-I systemd[2290]: Reached target org.gnome.SettingsDaemon.Sharing.target - GNOME file sharing target.
mars 05 15:04:36 origami-SPC-I systemd[2290]: Started org.gnome.SettingsDaemon.Sharing.service - GNOME file sharing service.
mars 05 15:04:36 origami-SPC-I systemd[2290]: Reached target org.gnome.SettingsDaemon.Keyboard.target - GNOME keyboard configuration target.
mars 05 15:04:36 origami-SPC-I systemd[2290]: Started org.gnome.SettingsDaemon.Keyboard.service - GNOME keyboard configuration service.
mars 05 15:04:36 origami-SPC-I systemd[2290]: Reached target org.gnome.SettingsDaemon.ScreensaverProxy.target - GNOME FreeDesktop screensaver target.
mars 05 15:04:36 origami-SPC-I systemd[2290]: Reached target org.gnome.SettingsDaemon.Datetime.target - GNOME date & time target.
mars 05 15:04:36 origami-SPC-I systemd[2290]: Reached target org.gnome.SettingsDaemon.Color.target - GNOME color management target.
mars 05 15:04:36 origami-SPC-I systemd[2290]: Started org.gnome.SettingsDaemon.ScreensaverProxy.service - GNOME FreeDesktop screensaver service.
mars 05 15:04:36 origami-SPC-I systemd[2290]: Started org.gnome.SettingsDaemon.Datetime.service - GNOME date & time service.
mars 05 15:04:36 origami-SPC-I systemd[2290]: Started org.gnome.SettingsDaemon.Color.service - GNOME color management service.
mars 05 15:04:36 origami-SPC-I systemd[2290]: Reached target org.gnome.SettingsDaemon.Smartcard.target - GNOME smartcard target.
mars 05 15:04:36 origami-SPC-I systemd[2290]: Reached target org.gnome.SettingsDaemon.Housekeeping.target - GNOME maintenance of expirable data target.
mars 05 15:04:36 origami-SPC-I systemd[2290]: Reached target org.gnome.SettingsDaemon.A11ySettings.target - GNOME accessibility target.
mars 05 15:04:36 origami-SPC-I systemd[2290]: Started app-gnome-org.gnome.SettingsDaemon.DiskUtilityNotify-2841.scope - Application launched by gnome-session-binary.
mars 05 15:04:36 origami-SPC-I systemd[2290]: Started org.gnome.SettingsDaemon.Housekeeping.service - GNOME maintenance of expirable data service.
mars 05 15:04:36 origami-SPC-I systemd[2290]: Started org.gnome.SettingsDaemon.Smartcard.service - GNOME smartcard service.
mars 05 15:04:36 origami-SPC-I systemd[2290]: Started org.gnome.SettingsDaemon.A11ySettings.service - GNOME accessibility service.
mars 05 15:04:36 origami-SPC-I systemd[2290]: Starting org.gnome.SettingsDaemon.XSettings.service - GNOME XSettings service...
mars 05 15:04:36 origami-SPC-I systemd[2290]: Starting org.gnome.SettingsDaemon.Wacom.service - GNOME Wacom tablet support service...
mars 05 15:04:36 origami-SPC-I systemd[2290]: Starting org.gnome.SettingsDaemon.Sound.service - GNOME sound sample caching service...
mars 05 15:04:36 origami-SPC-I systemd[2290]: Starting org.gnome.SettingsDaemon.Smartcard.service - GNOME smartcard service...
mars 05 15:04:36 origami-SPC-I systemd[2290]: Starting org.gnome.SettingsDaemon.Sharing.service - GNOME file sharing service...
mars 05 15:04:36 origami-SPC-I systemd[2290]: Starting org.gnome.SettingsDaemon.ScreensaverProxy.service - GNOME FreeDesktop screensaver service...
mars 05 15:04:36 origami-SPC-I systemd[2290]: Starting org.gnome.SettingsDaemon.Rfkill.service - GNOME RFKill support service...
mars 05 15:04:36 origami-SPC-I systemd[2290]: Starting org.gnome.SettingsDaemon.PrintNotifications.service - GNOME printer notifications service...
mars 05 15:04:36 origami-SPC-I systemd[2290]: Starting org.gnome.SettingsDaemon.Power.service - GNOME power management service...
mars 05 15:04:36 origami-SPC-I systemd[2290]: Starting org.gnome.SettingsDaemon.MediaKeys.service - GNOME keyboard shortcuts service...
mars 05 15:04:36 origami-SPC-I systemd[2290]: Starting org.gnome.SettingsDaemon.Keyboard.service - GNOME keyboard configuration service...
mars 05 15:04:36 origami-SPC-I systemd[2290]: Starting org.gnome.SettingsDaemon.Housekeeping.service - GNOME maintenance of expirable data service...
mars 05 15:04:36 origami-SPC-I systemd[2290]: Starting org.gnome.SettingsDaemon.Datetime.service - GNOME date & time service...
mars 05 15:04:36 origami-SPC-I systemd[2290]: Starting org.gnome.SettingsDaemon.Color.service - GNOME color management service...
mars 05 15:04:36 origami-SPC-I systemd[2290]: Starting org.gnome.SettingsDaemon.A11ySettings.service - GNOME accessibility service...
mars 05 14:37:07 origami-SPC-I smartd[977]: Device: /dev/sda [SAT], state written to /var/lib/smartmontools/smartd.WDC_WD40NDZW_11BCSS0-WD_WXC2DA1RFDVL.ata.state
mars 05 14:37:07 origami-SPC-I smartd[977]: Device: /dev/sda [SAT], is SMART capable. Adding to "monitor" list.
mars 05 14:37:07 origami-SPC-I udisksd[1024]: Error probing device: Error sending ATA command IDENTIFY DEVICE to '/dev/sda': Unexpected sense data returned:
                                              0000: f0 00 01 00  00 00 00 0a  00 00 00 00  00 1d 00 00    ................
                                              0010: 00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00    ................
                                               (g-io-error-quark, 0)
mars 05 14:37:06 origami-SPC-I smartd[977]: Device: /dev/sda [SAT], found in smartd database 7.3/5528: Western Digital Elements / My Passport (USB, AF)

Merci pour votre aide.

Hors ligne

#7 Le 05/03/2025, à 21:36

iznobe

Re : [Résolu]Disque dur externe en fat32 et ntfs qui n'est monté sur Ubuntu

donc :
Pour le DD externe en FAT32

sudo fsck -fyv /dev/sdb1

Pour le DD en NTFS

 sudo ntfsfix -d /dev/sdc1

je sais pas ce qui est connecté sur le bloc sda , mais vu :

Device: /dev/sda [SAT], state written to /var/lib/smartmontools/smartd.WDC_WD40NDZW_11BCSS0-WD_WXC2DA1RFDVL.ata.state

tu as tout interet afaire un rapport smartmontools ( pour tes 3 disques a y être ) .

Dernière modification par iznobe (Le 05/03/2025, à 21:38)


retour COMPLET et utilisable de commande  |  script montage partitions

MSI Z490A-pro , i7 10700 , 32 GB RAM .

Hors ligne

#8 Le 05/03/2025, à 23:52

yodhai

Re : [Résolu]Disque dur externe en fat32 et ntfs qui n'est monté sur Ubuntu

J'ai branché mes deux DD et voici le retour des commandes:

sudo fsck -fyv /dev/sdb1
fsck de util-linux 2.39.3
fsck.fat 4.2 (2021-01-31)
Checking we can access the last sector of the filesystem
Boot sector contents:
System ID "mkfs.fat"
Media byte 0xf8 (hard disk)
       512 bytes per logical sector
     32768 bytes per cluster
        32 reserved sectors
First FAT starts at byte 16384 (sector 32)
         2 FATs, 32 bit entries
 122061312 bytes per FAT (= 238401 sectors)
Root directory start at cluster 2 (arbitrary size)
Data area starts at byte 244139008 (sector 476834)
  30515301 data clusters (999925383168 bytes)
63 sectors/track, 255 heads
      2048 hidden sectors
1953456128 sectors total
Reclaiming unconnected clusters.
Checking free cluster summary.
/dev/sdb1: 57204 files, 28293073/30515301 clusters
sudo ntfsfix -d /dev/sdc1
Refusing to operate on read-write mounted device /dev/sdc1.

Je précise que sur mon pc Windows j'ai effectué un chkdsk  qui n'a pas solutionné mon problème.

Merci par avance pour votre aide.

Dernière modification par yodhai (Le 06/03/2025, à 11:04)

Hors ligne

#9 Le 07/03/2025, à 14:01

yodhai

Re : [Résolu]Disque dur externe en fat32 et ntfs qui n'est monté sur Ubuntu

Chose étrange mes deux DD externes (NTFS et FAT32) sont reconnus sur un autre PC Ubuntu mais sur le mien, ils ne sont pas reconnus.

Alors le problème est-ce mes DD externes ou mon PC?

Hors ligne

#10 Le 07/03/2025, à 15:08

geole

Re : [Résolu]Disque dur externe en fat32 et ntfs qui n'est monté sur Ubuntu

Bonjour.
Pourtant hier soir on a vu que ta partition NTFS était correctement montée.

Rebranche donc tes deux disques et donne ces retours.

lsblk -fe7
mount | tail -n 5
journalctl --no-pager -b -n 100

Dernière modification par geole (Le 07/03/2025, à 15:09)


Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity

Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

Hors ligne

#11 Le 07/03/2025, à 17:56

yodhai

Re : [Résolu]Disque dur externe en fat32 et ntfs qui n'est monté sur Ubuntu

Bonjour,
Mes deux DD externes sont branchés sur mon pc et seulement le DD en FAT32 est reconnu.

Voici les retours des commandes demandé par "geole":

lsblk -fe7
NAME FSTYPE FSVER LABEL    UUID                                 FSAVAIL FSUSE% MOUNTPOINTS
sda                                                                            
└─sda1
     ntfs         Elements 0E3E08363E0818FB                                    
sdb                                                                            
└─sdb1
     vfat   FAT32 WD1T     A24C-A31D                              58,8G    94% /media/origami/WD1T
nvme0n1
                                                                               
├─nvme0n1p1
│    vfat   FAT32          785B-7291                                 1G     1% /boot/efi
└─nvme0n1p2
     ext4   1.0            30b080f2-268c-43a1-b8ee-78d6cc7fdc49  109,1G    48% /
mount | tail -n 5
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=786416k,nr_inodes=196604,mode=700,uid=1000,gid=1000,inode64)
portal on /run/user/1000/doc type fuse.portal (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)
gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)
nsfs on /run/snapd/ns/firefox.mnt type nsfs (rw)
/dev/sdb1 on /media/origami/WD1T type vfat (rw,nosuid,nodev,relatime,uid=1000,gid=1000,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,showexec,utf8,flush,errors=remount-ro,uhelper=udisks2)
journalctl --no-pager -b -n 100
mars 07 16:50:38 origami-SPC-I kernel: usb 4-4: Product: Elements 2621
mars 07 16:50:38 origami-SPC-I kernel: usb 4-4: Manufacturer: Western Digital
mars 07 16:50:38 origami-SPC-I kernel: usb 4-4: SerialNumber: 57584332444131524644564C
mars 07 16:50:38 origami-SPC-I mtp-probe[4412]: checking bus 4, device 2: "/sys/devices/pci0000:00/0000:00:14.0/usb4/4-4"
mars 07 16:50:38 origami-SPC-I mtp-probe[4412]: bus: 4, device: 2 was not an MTP device
mars 07 16:50:38 origami-SPC-I kernel: usb-storage 4-4:1.0: USB Mass Storage device detected
mars 07 16:50:38 origami-SPC-I kernel: scsi host2: usb-storage 4-4:1.0
mars 07 16:50:38 origami-SPC-I kernel: usbcore: registered new interface driver usb-storage
mars 07 16:50:38 origami-SPC-I kernel: usbcore: registered new interface driver uas
mars 07 16:50:38 origami-SPC-I mtp-probe[4425]: checking bus 4, device 2: "/sys/devices/pci0000:00/0000:00:14.0/usb4/4-4"
mars 07 16:50:38 origami-SPC-I mtp-probe[4425]: bus: 4, device: 2 was not an MTP device
mars 07 16:50:39 origami-SPC-I kernel: scsi 2:0:0:0: Direct-Access     WD       Elements 2621    1034 PQ: 0 ANSI: 6
mars 07 16:50:45 origami-SPC-I kernel: sd 2:0:0:0: Attached scsi generic sg0 type 0
mars 07 16:50:45 origami-SPC-I kernel: sd 2:0:0:0: [sda] Spinning up disk...
mars 07 16:50:45 origami-SPC-I kernel: ....
mars 07 16:50:45 origami-SPC-I kernel: usb 4-1: new SuperSpeed USB device number 3 using xhci_hcd
mars 07 16:50:45 origami-SPC-I kernel: usb 4-1: New USB device found, idVendor=1058, idProduct=0824, bcdDevice=10.07
mars 07 16:50:45 origami-SPC-I kernel: usb 4-1: New USB device strings: Mfr=1, Product=2, SerialNumber=5
mars 07 16:50:45 origami-SPC-I kernel: usb 4-1: Product: My Passport 0824
mars 07 16:50:45 origami-SPC-I kernel: usb 4-1: Manufacturer: Western Digital
mars 07 16:50:45 origami-SPC-I kernel: usb 4-1: SerialNumber: 57584A314141334E39383232
mars 07 16:50:45 origami-SPC-I kernel: usb-storage 4-1:1.0: USB Mass Storage device detected
mars 07 16:50:45 origami-SPC-I kernel: scsi host3: usb-storage 4-1:1.0
mars 07 16:50:45 origami-SPC-I kernel: ..ready
mars 07 16:50:45 origami-SPC-I kernel: scsi 3:0:0:0: Direct-Access     WD       My Passport 0824 1007 PQ: 0 ANSI: 6
mars 07 16:50:52 origami-SPC-I kernel: sd 2:0:0:0: [sda] Very big device. Trying to use READ CAPACITY(16).
mars 07 16:50:52 origami-SPC-I kernel: scsi 3:0:0:1: Enclosure         WD       SES Device       1007 PQ: 0 ANSI: 6
mars 07 16:50:52 origami-SPC-I kernel: sd 3:0:0:0: Attached scsi generic sg1 type 0
mars 07 16:50:52 origami-SPC-I kernel: scsi 3:0:0:1: Attached scsi generic sg2 type 13
mars 07 16:50:52 origami-SPC-I kernel: sd 3:0:0:0: [sdb] Spinning up disk...
mars 07 16:50:52 origami-SPC-I kernel: sd 2:0:0:0: [sda] 7813969920 512-byte logical blocks: (4.00 TB/3.64 TiB)
mars 07 16:50:52 origami-SPC-I kernel: sd 2:0:0:0: [sda] 4096-byte physical blocks
mars 07 16:50:52 origami-SPC-I kernel: sd 2:0:0:0: [sda] Write Protect is off
mars 07 16:50:52 origami-SPC-I kernel: sd 2:0:0:0: [sda] Mode Sense: 47 00 10 08
mars 07 16:50:52 origami-SPC-I kernel: sd 2:0:0:0: [sda] No Caching mode page found
mars 07 16:50:52 origami-SPC-I kernel: sd 2:0:0:0: [sda] Assuming drive cache: write through
mars 07 16:50:52 origami-SPC-I kernel:  sda: sda1
mars 07 16:50:52 origami-SPC-I kernel: sd 2:0:0:0: [sda] Attached SCSI disk
mars 07 16:50:52 origami-SPC-I kernel: .......ready
mars 07 16:50:52 origami-SPC-I kernel: sd 3:0:0:0: [sdb] 1953458176 512-byte logical blocks: (1.00 TB/931 GiB)
mars 07 16:50:52 origami-SPC-I kernel: sd 3:0:0:0: [sdb] Write Protect is off
mars 07 16:50:52 origami-SPC-I kernel: sd 3:0:0:0: [sdb] Mode Sense: 47 00 10 08
mars 07 16:50:52 origami-SPC-I kernel: sd 3:0:0:0: [sdb] No Caching mode page found
mars 07 16:50:52 origami-SPC-I kernel: sd 3:0:0:0: [sdb] Assuming drive cache: write through
mars 07 16:50:52 origami-SPC-I kernel:  sdb: sdb1
mars 07 16:50:52 origami-SPC-I kernel: sd 3:0:0:0: [sdb] Attached SCSI disk
mars 07 16:50:44 origami-SPC-I mtp-probe[4442]: checking bus 4, device 3: "/sys/devices/pci0000:00/0000:00:14.0/usb4/4-1"
mars 07 16:50:45 origami-SPC-I (udev-worker)[4460]: sda: Process '/usr/bin/unshare -m /usr/bin/snap auto-import --mount=/dev/sda' failed with exit code 1.
mars 07 16:50:44 origami-SPC-I mtp-probe[4442]: bus: 4, device: 3 was not an MTP device
mars 07 16:50:45 origami-SPC-I udisksd[973]: Error probing device: Error sending ATA command IDENTIFY DEVICE to '/dev/sda': Unexpected sense data returned:
                                             0000: f0 00 01 00  00 00 00 0a  00 00 00 00  00 1d 00 00    ................
                                             0010: 00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00    ................
                                              (g-io-error-quark, 0)
mars 07 16:50:44 origami-SPC-I mtp-probe[4444]: checking bus 4, device 3: "/sys/devices/pci0000:00/0000:00:14.0/usb4/4-1"
mars 07 16:50:45 origami-SPC-I (udev-worker)[4420]: sda1: Process '/usr/bin/unshare -m /usr/bin/snap auto-import --mount=/dev/sda1' failed with exit code 1.
mars 07 16:50:44 origami-SPC-I mtp-probe[4444]: bus: 4, device: 3 was not an MTP device
mars 07 16:50:52 origami-SPC-I kernel: scsi 3:0:0:1: Wrong diagnostic page; asked for 1 got 8
mars 07 16:50:52 origami-SPC-I kernel: scsi 3:0:0:1: Failed to get diagnostic page 0x1
mars 07 16:50:52 origami-SPC-I kernel: scsi 3:0:0:1: Failed to bind enclosure -19
mars 07 16:50:52 origami-SPC-I kernel: ses 3:0:0:1: Attached Enclosure device
mars 07 16:50:53 origami-SPC-I (udev-worker)[4420]: sdb: Process '/usr/bin/unshare -m /usr/bin/snap auto-import --mount=/dev/sdb' failed with exit code 1.
mars 07 16:50:53 origami-SPC-I udisksd[973]: Error probing device: Error sending ATA command IDENTIFY DEVICE to '/dev/sdb': Unexpected sense data returned:
                                             0000: 00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00    ................
                                             0010: 00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00    ................
                                              (g-io-error-quark, 0)
mars 07 16:50:53 origami-SPC-I (udev-worker)[4420]: sdb1: Process '/usr/bin/unshare -m /usr/bin/snap auto-import --mount=/dev/sdb1' failed with exit code 1.
mars 07 16:50:53 origami-SPC-I kernel: FAT-fs (sdb1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
mars 07 16:50:53 origami-SPC-I udisksd[973]: Mounted /dev/sdb1 at /media/origami/WD1T on behalf of uid 1000
mars 07 16:50:53 origami-SPC-I gnome-shell[2250]: GFileInfo created without standard::icon
mars 07 16:50:53 origami-SPC-I gnome-shell[2250]: file ../../../gio/gfileinfo.c: line 1765 (g_file_info_get_icon): should not be reached
mars 07 16:50:55 origami-SPC-I dbus-daemon[1898]: [session uid=1000 pid=1898] Activating service name='org.gnome.Nautilus' requested by ':1.38' (uid=1000 pid=2250 comm="/usr/bin/gnome-shell" label="unconfined")
mars 07 16:50:56 origami-SPC-I nautilus[4510]: Connecting to org.freedesktop.Tracker3.Miner.Files
mars 07 16:50:56 origami-SPC-I dbus-daemon[1898]: [session uid=1000 pid=1898] Successfully activated service 'org.gnome.Nautilus'
mars 07 16:50:56 origami-SPC-I org.gnome.Nautilus[4510]: Initializing nautilus-dropbox 2019.02.14
mars 07 16:50:56 origami-SPC-I gnome-shell[2250]: Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0x2600004
mars 07 16:50:56 origami-SPC-I dbus-daemon[929]: [system] Activating via systemd: service name='org.freedesktop.hostname1' unit='dbus-org.freedesktop.hostname1.service' requested by ':1.133' (uid=1000 pid=4510 comm="/usr/bin/nautilus --gapplication-service" label="nautilus (unconfined)")
mars 07 16:50:56 origami-SPC-I systemd[1]: Starting systemd-hostnamed.service - Hostname Service...
mars 07 16:50:56 origami-SPC-I dbus-daemon[929]: [system] Successfully activated service 'org.freedesktop.hostname1'
mars 07 16:50:56 origami-SPC-I systemd[1]: Started systemd-hostnamed.service - Hostname Service.
mars 07 16:51:07 origami-SPC-I systemd[1858]: Started app-gnome-org.gnome.Terminal-4555.scope - Application launched by gnome-shell.
mars 07 16:51:07 origami-SPC-I dbus-daemon[1898]: [session uid=1000 pid=1898] Activating via systemd: service name='org.gnome.Terminal' unit='gnome-terminal-server.service' requested by ':1.117' (uid=1000 pid=4558 comm="/usr/bin/gnome-terminal.real" label="unconfined")
mars 07 16:51:07 origami-SPC-I systemd[1858]: Created slice app-org.gnome.Terminal.slice - Slice /app/org.gnome.Terminal.
mars 07 16:51:07 origami-SPC-I systemd[1858]: Starting gnome-terminal-server.service - GNOME Terminal Server...
mars 07 16:51:07 origami-SPC-I dbus-daemon[1898]: [session uid=1000 pid=1898] Successfully activated service 'org.gnome.Terminal'
mars 07 16:51:07 origami-SPC-I systemd[1858]: Started gnome-terminal-server.service - GNOME Terminal Server.
mars 07 16:51:07 origami-SPC-I systemd[1858]: Started vte-spawn-22c3aa7c-5df8-4839-aa88-42762f3a2057.scope - VTE child process 4573 launched by gnome-terminal-server process 4562.
mars 07 16:51:26 origami-SPC-I systemd[1]: systemd-hostnamed.service: Deactivated successfully.
mars 07 16:52:01 origami-SPC-I systemd[1]: Starting update-notifier-download.service - Download data for packages that failed at package install time...
mars 07 16:52:01 origami-SPC-I systemd[1]: update-notifier-download.service: Deactivated successfully.
mars 07 16:52:01 origami-SPC-I systemd[1]: Finished update-notifier-download.service - Download data for packages that failed at package install time.
mars 07 16:52:37 origami-SPC-I dbus-daemon[1898]: [session uid=1000 pid=1898] Activating service name='org.gnome.DejaDup' requested by ':1.113' (uid=1000 pid=4400 comm="/usr/libexec/deja-dup/deja-dup-monitor" label="unconfined")
mars 07 16:52:37 origami-SPC-I dbus-daemon[1898]: [session uid=1000 pid=1898] Successfully activated service 'org.gnome.DejaDup'
mars 07 16:52:43 origami-SPC-I /usr/libexec/gdm-x-session[1981]: (EE) event6  - HTIX5288:00 093A:0255 Touchpad: kernel bug: Touch jump detected and discarded.
mars 07 16:52:43 origami-SPC-I /usr/libexec/gdm-x-session[1981]: See https://wayland.freedesktop.org/libinput/doc/1.25.0/touchpad-jumping-cursors.html for details
mars 07 16:53:16 origami-SPC-I /usr/libexec/gdm-x-session[1981]: (EE) event6  - HTIX5288:00 093A:0255 Touchpad: kernel bug: Touch jump detected and discarded.
mars 07 16:53:16 origami-SPC-I /usr/libexec/gdm-x-session[1981]: See https://wayland.freedesktop.org/libinput/doc/1.25.0/touchpad-jumping-cursors.html for details
mars 07 16:53:16 origami-SPC-I /usr/libexec/gdm-x-session[1981]: (EE) event6  - HTIX5288:00 093A:0255 Touchpad: WARNING: log rate limit exceeded (5 msgs per 24h). Discarding future messages.
mars 07 16:53:31 origami-SPC-I dbus-daemon[929]: [system] Activating via systemd: service name='org.freedesktop.timedate1' unit='dbus-org.freedesktop.timedate1.service' requested by ':1.26' (uid=0 pid=949 comm="/usr/lib/snapd/snapd" label="unconfined")
mars 07 16:53:31 origami-SPC-I systemd[1]: Starting systemd-timedated.service - Time & Date Service...
mars 07 16:53:31 origami-SPC-I dbus-daemon[929]: [system] Successfully activated service 'org.freedesktop.timedate1'
mars 07 16:53:31 origami-SPC-I systemd[1]: Started systemd-timedated.service - Time & Date Service.
mars 07 16:53:31 origami-SPC-I kernel: audit: type=1107 audit(1741362811.497:189): pid=929 uid=101 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_method_call"  bus="system" path="/org/freedesktop/timedate1" interface="org.freedesktop.DBus.Properties" member="GetAll" mask="send" name=":1.136" pid=3227 label="snap.firefox.firefox" peer_pid=4630 peer_label="unconfined"
                                        exe="/usr/bin/dbus-daemon" sauid=101 hostname=? addr=? terminal=?'
mars 07 16:53:42 origami-SPC-I PackageKit[1464]: daemon quit
mars 07 16:53:42 origami-SPC-I systemd[1]: packagekit.service: Deactivated successfully.
mars 07 16:54:01 origami-SPC-I systemd[1]: systemd-timedated.service: Deactivated successfully.
mars 07 16:54:21 origami-SPC-I systemd[1858]: launchpadlib-cache-clean.service - Clean up old files in the Launchpadlib cache was skipped because of an unmet condition check (ConditionPathExists=/home/origami/.launchpadlib/api.launchpad.net/cache).

Merci pour votre aide.

Hors ligne

#12 Le 07/03/2025, à 18:05

geole

Re : [Résolu]Disque dur externe en fat32 et ntfs qui n'est monté sur Ubuntu

Bonjour
Le message d'erreur collecté n'est pas parlant
mars 07 16:50:45 origami-SPC-I (udev-worker)[4420]: sda1: Process '/usr/bin/unshare -m /usr/bin/snap auto-import --mount=/dev/sda1' failed with exit code 1.

Donne ces retours

sudo ntfsfix -d /dev/sda1
sudo mount  -v /dev/sda1 /mnt
sudo mount -v -t ntfs /dev/sda1 /mnt

Dernière modification par geole (Le 07/03/2025, à 18:07)


Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity

Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

Hors ligne

#13 Le 07/03/2025, à 18:10

yodhai

Re : [Résolu]Disque dur externe en fat32 et ntfs qui n'est monté sur Ubuntu

Voici les retours des commandes:

sudo ntfsfix -d /dev/sda1
[sudo] Mot de passe de origami : 
Mounting volume... OK
Processing of $MFT and $MFTMirr completed successfully.
Checking the alternate boot sector... OK
NTFS volume version is 3.1.
NTFS partition /dev/sda1 was processed successfully.

Pour cette commande, il ne s'est rien passé

sudo mount  -v /dev/sda1 /mnt
sudo mount -v -t ntfs /dev/sda1 /mnt
Mount is denied because the NTFS volume is already exclusively opened.
The volume may be already mounted, or another software may use it which
could be identified for example by the help of the 'fuser' command.

Hors ligne

#14 Le 07/03/2025, à 18:48

geole

Re : [Résolu]Disque dur externe en fat32 et ntfs qui n'est monté sur Ubuntu

Donc, la réparation a fonctionné.

sudo umount  -v /dev/sda1

Puis tu débranches et tu rebranches le disque. Le montage devrait être automatique


Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity

Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

Hors ligne

#15 Le 07/03/2025, à 19:10

yodhai

Re : [Résolu]Disque dur externe en fat32 et ntfs qui n'est monté sur Ubuntu

Mes deux DD externe sont enfin reconnus (merci!).

Mais je ne peux pas écrire sur le DD NTFS, je ne peux pas y ajouter des fichiers !

On avance dans mon problème mais il y a maintenant un nouveau problème!

Dernière modification par yodhai (Le 07/03/2025, à 19:20)

Hors ligne

#16 Le 07/03/2025, à 19:30

geole

Re : [Résolu]Disque dur externe en fat32 et ntfs qui n'est monté sur Ubuntu

Donne

mount | tail -n 5
journalctl --no-pager -b -g sda  -n 20

Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity

Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

Hors ligne

#17 Le 07/03/2025, à 19:33

yodhai

Re : [Résolu]Disque dur externe en fat32 et ntfs qui n'est monté sur Ubuntu

Merci pour ton aide geole.

Mes deux DD sont toujours branchés et ils sont tous les deux reconnus.

 mount | tail -n 5
gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)
nsfs on /run/snapd/ns/firefox.mnt type nsfs (rw)
nsfs on /run/snapd/ns/firmware-updater.mnt type nsfs (rw)
/dev/sdb1 on /media/origami/WD1T type vfat (rw,nosuid,nodev,relatime,uid=1000,gid=1000,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,showexec,utf8,flush,errors=remount-ro,uhelper=udisks2)
/dev/sdc1 on /media/origami/Elements type ntfs3 (rw,nosuid,nodev,relatime,uid=1000,gid=1000,iocharset=utf8,uhelper=udisks2)
journalctl --no-pager -b -g sda  -n 20
mars 07 18:07:23 origami-SPC-I sudo[9275]:  origami : TTY=pts/0 ; PWD=/home/origami ; USER=root ; COMMAND=/usr/bin/umount -v /dev/sda1
mars 07 17:09:53 origami-SPC-I sudo[5242]:  origami : TTY=pts/0 ; PWD=/home/origami ; USER=root ; COMMAND=/usr/bin/mount -v -t ntfs /dev/sda1 /mnt
mars 07 17:08:49 origami-SPC-I ntfs-3g[5232]: Mount options: allow_other,nonempty,relatime,rw,fsname=/dev/sda1,blkdev,blksize=4096
mars 07 17:08:49 origami-SPC-I ntfs-3g[5232]: Mounted /dev/sda1 (Read-Write, label "Elements", NTFS 3.1)
mars 07 17:08:47 origami-SPC-I sudo[5228]:  origami : TTY=pts/0 ; PWD=/home/origami ; USER=root ; COMMAND=/usr/bin/mount -v /dev/sda1 /mnt
mars 07 17:07:21 origami-SPC-I sudo[5188]:  origami : TTY=pts/0 ; PWD=/home/origami ; USER=root ; COMMAND=/usr/bin/ntfsfix -d /dev/sda1
mars 07 16:50:45 origami-SPC-I (udev-worker)[4420]: sda1: Process '/usr/bin/unshare -m /usr/bin/snap auto-import --mount=/dev/sda1' failed with exit code 1.
mars 07 16:50:45 origami-SPC-I udisksd[973]: Error probing device: Error sending ATA command IDENTIFY DEVICE to '/dev/sda': Unexpected sense data returned:
                                             0000: f0 00 01 00  00 00 00 0a  00 00 00 00  00 1d 00 00    ................
                                             0010: 00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00    ................
                                              (g-io-error-quark, 0)
mars 07 16:50:45 origami-SPC-I (udev-worker)[4460]: sda: Process '/usr/bin/unshare -m /usr/bin/snap auto-import --mount=/dev/sda' failed with exit code 1.
mars 07 16:50:52 origami-SPC-I kernel: sd 2:0:0:0: [sda] Attached SCSI disk
mars 07 16:50:52 origami-SPC-I kernel:  sda: sda1
mars 07 16:50:52 origami-SPC-I kernel: sd 2:0:0:0: [sda] Assuming drive cache: write through
mars 07 16:50:52 origami-SPC-I kernel: sd 2:0:0:0: [sda] No Caching mode page found
mars 07 16:50:52 origami-SPC-I kernel: sd 2:0:0:0: [sda] Mode Sense: 47 00 10 08
mars 07 16:50:52 origami-SPC-I kernel: sd 2:0:0:0: [sda] Write Protect is off
mars 07 16:50:52 origami-SPC-I kernel: sd 2:0:0:0: [sda] 4096-byte physical blocks
mars 07 16:50:52 origami-SPC-I kernel: sd 2:0:0:0: [sda] 7813969920 512-byte logical blocks: (4.00 TB/3.64 TiB)
mars 07 16:50:52 origami-SPC-I kernel: sd 2:0:0:0: [sda] Very big device. Trying to use READ CAPACITY(16).
mars 07 16:50:45 origami-SPC-I kernel: sd 2:0:0:0: [sda] Spinning up disk...
mars 07 16:48:36 origami-SPC-I systemd[1858]: Reached target org.gnome.SettingsDaemon.XSettings.target - GNOME XSettings target.

Hors ligne

#18 Le 07/03/2025, à 19:48

geole

Re : [Résolu]Disque dur externe en fat32 et ntfs qui n'est monté sur Ubuntu

Je me suis fait avoir
/dev/sdc1 on /media/origami/Elements type ntfs3 (rw,nosuid,nodev,relatime,uid=1000,gid=1000,iocharset=utf8,uhelper=udisks2)
Le disque n est plus sur SDA       mais il semble bien   être prévu en écriture
donne ces retours

ls -l /media/origami/Elements
echo test > /media/origami/Elements/test.tmp
journalctl --no-pager -b -g sdc  -n 20

Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity

Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

Hors ligne

#19 Le 07/03/2025, à 20:05

yodhai

Re : [Résolu]Disque dur externe en fat32 et ntfs qui n'est monté sur Ubuntu

Voici le retour des commandes:

ls -l /media/origami/Elements
total 12914888
drwxr-xr-x 1 origami origami          0 sept. 15 13:48 '$RECYCLE.BIN'
drwxr-xr-x 1 origami origami          0 févr. 25 15:48  found.000
-rwxr-xr-x 1 origami origami     549227 avril 22  2022 'Install Western Digital Software for Mac.dmg'
-rwxr-xr-x 1 origami origami     671824 juil.  9  2021 'Install Western Digital Software for Windows.exe'
-rwxr-xr-x 1 origami origami 4206310803 mars   5 08:36 'Jumanji The Next Level (2019) REPACK MULTi VFF 2160p 10bit 4KLight HDR BluRay AC3 5.1 x265-QTZ.mkv'
-rw-rw-r-- 1 origami origami 2450432608 déc.  30  2023 'La vie est belle (1946) (It'\''s a Wonderful Life) MULTI [1080p] Bluray x264 AC3 2.0 [NOEX].mkv'
drwxr-xr-x 1 origami origami          0 août  25  2021  Maths_a_voir
drwxr-xr-x 1 origami origami      20480 janv. 28  2023  Musique_Piano_Video
drwxr-xr-x 1 origami origami      77824 févr. 27  2021  Origami
drwxr-xr-x 1 origami origami       8192 août  27  2023  Photos
drwxr-xr-x 1 origami origami       4096 janv. 19  2023  Piano
drwxr-xr-x 1 origami origami          0 oct.  12 08:50  Sauvegarde
drwxr-xr-x 1 origami origami       4096 déc.  15 17:43 'sauvegarde Marlène'
drwxr-xr-x 1 origami origami       4096 oct.   1 12:44 'System Volume Information'
drwxr-xr-x 1 origami origami       4096 oct.  12 08:56  VideoYoutube
-rw-r--r-- 1 root    root    6566741676 janv.  4 14:43  Wicked.2024.MULTI.VFQ.2160p.DV.HDR10P.WEBRip.DDP5.1.x265-ESPER.mkv
echo test > /media/origami/Elements/test.tmp
bash: /media/origami/Elements/test.tmp: Permission non accordée
journalctl --no-pager -b -g sdc  -n 20
mars 07 18:30:49 origami-SPC-I udisksd[973]: Mounted /dev/sdc1 at /media/origami/Elements on behalf of uid 1000
mars 07 18:30:45 origami-SPC-I (udev-worker)[10478]: sdc1: Process '/usr/bin/unshare -m /usr/bin/snap auto-import --mount=/dev/sdc1' failed with exit code 1.
mars 07 18:30:44 origami-SPC-I udisksd[973]: Error probing device: Error sending ATA command IDENTIFY DEVICE to '/dev/sdc': Unexpected sense data returned:
                                             0000: f0 00 01 00  00 00 00 0a  00 00 00 00  00 1d 00 00    ................
                                             0010: 00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00    ................
                                              (g-io-error-quark, 0)
mars 07 18:30:44 origami-SPC-I (udev-worker)[10484]: sdc: Process '/usr/bin/unshare -m /usr/bin/snap auto-import --mount=/dev/sdc' failed with exit code 1.
mars 07 18:30:45 origami-SPC-I kernel: sd 4:0:0:0: [sdc] Attached SCSI disk
mars 07 18:30:45 origami-SPC-I kernel:  sdc: sdc1
mars 07 18:30:45 origami-SPC-I kernel: sd 4:0:0:0: [sdc] Assuming drive cache: write through
mars 07 18:30:45 origami-SPC-I kernel: sd 4:0:0:0: [sdc] No Caching mode page found
mars 07 18:30:45 origami-SPC-I kernel: sd 4:0:0:0: [sdc] Mode Sense: 47 00 10 08
mars 07 18:30:45 origami-SPC-I kernel: sd 4:0:0:0: [sdc] Write Protect is off
mars 07 18:30:45 origami-SPC-I kernel: sd 4:0:0:0: [sdc] 4096-byte physical blocks
mars 07 18:30:45 origami-SPC-I kernel: sd 4:0:0:0: [sdc] 7813969920 512-byte logical blocks: (4.00 TB/3.64 TiB)
mars 07 18:30:45 origami-SPC-I kernel: sd 4:0:0:0: [sdc] Very big device. Trying to use READ CAPACITY(16).
mars 07 18:30:26 origami-SPC-I udisksd[973]: Unmounted /dev/sdc1 on behalf of uid 1000
mars 07 18:08:01 origami-SPC-I udisksd[973]: Mounted /dev/sdc1 at /media/origami/Elements on behalf of uid 1000
mars 07 18:07:55 origami-SPC-I (udev-worker)[9303]: sdc1: Process '/usr/bin/unshare -m /usr/bin/snap auto-import --mount=/dev/sdc1' failed with exit code 1.
mars 07 18:07:55 origami-SPC-I udisksd[973]: Error probing device: Error sending ATA command IDENTIFY DEVICE to '/dev/sdc': Unexpected sense data returned:
                                             0000: f0 00 01 00  00 00 00 0a  00 00 00 00  00 1d 00 00    ................
                                             0010: 00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00    ................
                                              (g-io-error-quark, 0)
mars 07 18:07:55 origami-SPC-I (udev-worker)[9375]: sdc: Process '/usr/bin/unshare -m /usr/bin/snap auto-import --mount=/dev/sdc' failed with exit code 1.
mars 07 18:07:56 origami-SPC-I kernel: sd 4:0:0:0: [sdc] Attached SCSI disk
mars 07 18:07:56 origami-SPC-I kernel:  sdc: sdc1

Hors ligne

#20 Le 07/03/2025, à 20:16

geole

Re : [Résolu]Disque dur externe en fat32 et ntfs qui n'est monté sur Ubuntu

C'est donc un problème de permissions...

ls -l /media
ls -l /media/origami
id

Dernière modification par geole (Le 07/03/2025, à 20:17)


Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity

Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

Hors ligne

#21 Le 07/03/2025, à 20:29

yodhai

Re : [Résolu]Disque dur externe en fat32 et ntfs qui n'est monté sur Ubuntu

J'imagine que tu souhaites le retour des commandes:

ls -l /media
total 4
drwxr-x---+ 4 root root 4096 mars   7 19:26 origami
ls -l /media/origami
total 36
dr-xr-xr-x  1 origami origami  4096 mars   6 12:37 Elements
drwxr-xr-x 19 origami origami 32768 janv.  1  1970 WD1T
id
uid=1000(origami) gid=1000(origami) groupes=1000(origami),4(adm),24(cdrom),27(sudo),30(dip),46(plugdev),100(users),114(lpadmin)

Dernière modification par yodhai (Le 07/03/2025, à 20:30)

Hors ligne

#22 Le 08/03/2025, à 09:33

yodhai

Re : [Résolu]Disque dur externe en fat32 et ntfs qui n'est monté sur Ubuntu

Pour mon DD externe en FAT32 tout semble bien fonctionné.
Mais j'ai toujours un problème avec mon DD en NTFS.
Hier mon pc le reconnaissait, je pouvais consulter les fichiers à l’intérieur mais je ne pouvais pas mettre de nouveau fichier dessus, je n'avais pas la permission.
Par contre, aujourd'hui, je branche le DD en NTFS et il n'est pas reconnu à nouveau.
Je n'y comprends rien!

Merci pour votre aide.

Hors ligne

#23 Le 08/03/2025, à 12:14

iznobe

Re : [Résolu]Disque dur externe en fat32 et ntfs qui n'est monté sur Ubuntu

Bonjour , montre :

grep Elements /etc/mtab
namei -mo /media/origami/Elements
sudo umount -v /media/origami/Elements && ls -la /media/origami/Elements; sudo mount -v /media/origami/Elements
grep -v ^# /etc/fstab

Dernière modification par iznobe (Le 08/03/2025, à 12:17)


retour COMPLET et utilisable de commande  |  script montage partitions

MSI Z490A-pro , i7 10700 , 32 GB RAM .

Hors ligne

#24 Le 08/03/2025, à 17:49

yodhai

Re : [Résolu]Disque dur externe en fat32 et ntfs qui n'est monté sur Ubuntu

J'ai branché mon DD en NTFS.

Voici le retour des commandes:

grep Elements /etc/mtab
namei -mo /media/origami/Elements
f: /media/origami/Elements
 drwxr-xr-x root root /
 drwxr-xr-x root root media
 drwxr-x--- root root origami
                       Elements - Aucun fichier ou dossier de ce nom
udo umount -v /media/origami/Elements && ls -la /media/origami/Elements; sudo mount -v /media/origami/Elements
[sudo] Mot de passe de origami : 
umount: /media/origami/Elements: Aucun point de montage indiqué.
mount: /media/origami/Elements: impossible à trouver dans /etc/fstab.
grep -v ^# /etc/fstab
/dev/disk/by-uuid/30b080f2-268c-43a1-b8ee-78d6cc7fdc49 / ext4 defaults 0 1
/dev/disk/by-uuid/785B-7291 /boot/efi vfat defaults 0 1
/swap.img	none	swap	sw	0	0
/dev/sda1 /mnt ntfs-3g defaults 0 0

Merci pour votre aide.

Hors ligne

#25 Le 08/03/2025, à 18:29

geole

Re : [Résolu]Disque dur externe en fat32 et ntfs qui n'est monté sur Ubuntu

Dans le fstab cette ligne est mauvaise

dev/sda1 /mnt ntfs-3g defaults 0 0

Soit tu la supprimes pour avoir du montage standard avec le module ntfs3
Soit tu l'écris en utilisant le label 

/dev/disk/by-label/Elements /media/origami/Elements ntfs-3g defaults,nofail,uid=1000,gid=1000 0 0

et création du point de montage.

sudo mkdir -v /media/origami/Elements

Dernière modification par geole (Le 08/03/2025, à 18:30)


Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity

Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

Hors ligne