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 19/09/2020, à 14:09

Cimmerian

Disque dur externe en lecture seule - xbox one

Salut, hier j'ai branché pour la première fois mon disque dur externe sur la xbox one afin de pouvoir lire des fichiers médias (films, photos, etc...). Le soucis est que maintenant mon DD externe semble être en lecture seule sur mon pc (j'ai un logo avec un cadenas qui est apparu sur les dossiers) et je ne peux plus rien faire (créer nouveau dossier, déplacer, supprimer, etc...). Comment faire pour le déverrouiller svp ?

copie écran

Hors ligne

#2 Le 19/09/2020, à 14:14

Cimmerian

Re : Disque dur externe en lecture seule - xbox one

Hors ligne

#3 Le 19/09/2020, à 14:18

geole

Re : Disque dur externe en lecture seule - xbox one

Bonjour
Pëux-tu donner le retour de cette commande

dmesg | tail -200

Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit,  utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir  https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

Hors ligne

#4 Le 19/09/2020, à 14:23

Cimmerian

Re : Disque dur externe en lecture seule - xbox one

              .-. 
        .-'``(|||) 
     ,`\ \    `-`.                 88                         88 
    /   \ '``-.   `                88                         88 
  .-.  ,       `___:      88   88  88,888,  88   88  ,88888, 88888  88   88 
 (:::) :        ___       88   88  88   88  88   88  88   88  88    88   88 
  `-`  `       ,   :      88   88  88   88  88   88  88   88  88    88   88 
    \   / ,..-`   ,       88   88  88   88  88   88  88   88  88    88   88 
     `./ /    .-.`        '88888'  '88888'  '88888'  88   88  '8888 '88888' 
        `-..-(   ) 
              `-` 


Linux Version 4.15.0-117-lowlatency, Compiled #118-Ubuntu SMP PREEMPT Fri Sep 4 20:42:53 UTC 2020
   Two 1,79GHz Intel Pentium D Processors, 128TB RAM, 7180,00 Bogomips Total
                                  acer-veriton

gaspahug@acer-veriton:~$ dmesg | tail -200
[    1.158833] evm: HMAC attrs: 0x1
[    1.159186]   Magic number: 4:79:926
[    1.159355] rtc_cmos 00:01: setting system clock to 2020-09-19 07:55:36 UTC (1600502136)
[    1.160453] BIOS EDD facility v0.16 2004-Jun-25, 0 devices found
[    1.160454] EDD information not available.
[    1.288786] ata1.01: ATAPI: MATSHITADVD-RAM UJ-875S, 1.00, max UDMA/33
[    1.293570] ata1.01: configured for UDMA/33
[    1.296722] scsi 0:0:1:0: CD-ROM            MATSHITA DVD-RAM UJ-875S  1.00 PQ: 0 ANSI: 5
[    1.327860] ata3.00: ATA-7: ST3160815AS, 4.AAA, max UDMA/133
[    1.327864] ata3.00: 312581808 sectors, multi 16: LBA48 NCQ (depth 0/32)
[    1.333782] sr 0:0:1:0: [sr0] scsi3-mmc drive: 24x/24x writer dvd-ram cd/rw xa/form2 cdda caddy
[    1.333786] cdrom: Uniform CD-ROM driver Revision: 3.20
[    1.334008] sr 0:0:1:0: Attached scsi CD-ROM sr0
[    1.334110] sr 0:0:1:0: Attached scsi generic sg0 type 5
[    1.402828] ata3.00: configured for UDMA/133
[    1.403068] scsi 2:0:0:0: Direct-Access     ATA      ST3160815AS      A    PQ: 0 ANSI: 5
[    1.403358] sd 2:0:0:0: [sda] 312581808 512-byte logical blocks: (160 GB/149 GiB)
[    1.403360] sd 2:0:0:0: Attached scsi generic sg1 type 0
[    1.403380] sd 2:0:0:0: [sda] Write Protect is off
[    1.403383] sd 2:0:0:0: [sda] Mode Sense: 00 3a 00 00
[    1.403421] sd 2:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    1.498624]  sda: sda1 sda2 < sda5 sda6 sda7 sda8 >
[    1.499357] sd 2:0:0:0: [sda] Attached SCSI disk
[    1.504590] Freeing unused kernel image memory: 2364K
[    1.504670] Write protecting the kernel read-only data: 20480k
[    1.506180] Freeing unused kernel image memory: 2008K
[    1.507250] Freeing unused kernel image memory: 1872K
[    1.522449] x86/mm: Checked W+X mappings: passed, no W+X pages found.
[    1.522560] x86/mm: Checking user space page tables
[    1.537178] x86/mm: Checked W+X mappings: passed, no W+X pages found.
[    1.577058] usb 3-1: new low-speed USB device number 2 using uhci_hcd
[    1.736881] pps_core: LinuxPPS API ver. 1 registered
[    1.736883] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    1.744559] PTP clock support registered
[    1.753158] usb 3-1: New USB device found, idVendor=046d, idProduct=c016
[    1.753163] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    1.753165] usb 3-1: Product: Optical USB Mouse
[    1.753168] usb 3-1: Manufacturer: Logitech
[    1.761003] e1000e: Intel(R) PRO/1000 Network Driver - 3.2.6-k
[    1.761006] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[    1.761345] e1000e 0000:02:00.0: Interrupt Throttling Rate (ints/sec) set to dynamic conservative mode
[    1.821979] hidraw: raw HID events driver (C) Jiri Kosina
[    1.838536] usbcore: registered new interface driver usbhid
[    1.838539] usbhid: USB HID core driver
[    1.842485] input: Logitech Optical USB Mouse as /devices/pci0000:00/0000:00:1d.1/usb3/3-1/3-1:1.0/0003:046D:C016.0001/input/input5
[    1.842658] hid-generic 0003:046D:C016.0001: input,hidraw0: USB HID v1.10 Mouse [Logitech Optical USB Mouse] on usb-0000:00:1d.1-1/input0
[    1.852621] e1000e 0000:02:00.0 eth0: (PCI Express:2.5GT/s:Width x1) 00:1c:25:8d:a2:d5
[    1.852634] e1000e 0000:02:00.0 eth0: Intel(R) PRO/1000 Network Connection
[    1.852720] e1000e 0000:02:00.0 eth0: MAC: 2, PHY: 2, PBA No: FFFFFF-0FF
[    1.854502] e1000e 0000:02:00.0 ens34: renamed from eth0
[    2.007221] random: fast init done
[    2.143112] tsc: Refined TSC clocksource calibration: 1795.500 MHz
[    2.143125] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x19e18e9f49d, max_idle_ns: 440795293809 ns
[    2.151773] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[    2.223412] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[    2.313562] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[    2.429112] usb 3-2: new low-speed USB device number 3 using uhci_hcd
[    2.606194] usb 3-2: New USB device found, idVendor=046d, idProduct=c31c
[    2.606199] usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    2.606203] usb 3-2: Product: USB Keyboard
[    2.606206] usb 3-2: Manufacturer: Logitech
[    2.640898] input: Logitech USB Keyboard as /devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2:1.0/0003:046D:C31C.0002/input/input6
[    2.692286] hid-generic 0003:046D:C31C.0002: input,hidraw1: USB HID v1.10 Keyboard [Logitech USB Keyboard] on usb-0000:00:1d.1-2/input0
[    2.727230] input: Logitech USB Keyboard as /devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2:1.1/0003:046D:C31C.0003/input/input7
[    2.779264] hid-generic 0003:046D:C31C.0003: input,hidraw2: USB HID v1.10 Device [Logitech USB Keyboard] on usb-0000:00:1d.1-2/input1
[    2.937091] usb 1-6: new high-speed USB device number 4 using ehci-pci
[    3.142197] usb 1-6: New USB device found, idVendor=1058, idProduct=2621
[    3.142201] usb 1-6: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    3.142204] usb 1-6: Product: Elements 2621
[    3.142208] usb 1-6: Manufacturer: Western Digital
[    3.142210] usb 1-6: SerialNumber: 57584532413430464C4E334B
[    3.151228] clocksource: Switched to clocksource tsc
[    3.363875] usb-storage 1-6:1.0: USB Mass Storage device detected
[    3.365322] scsi host4: usb-storage 1-6:1.0
[    3.365521] usbcore: registered new interface driver usb-storage
[    3.368154] usbcore: registered new interface driver uas
[    3.432490] random: crng init done
[    3.432495] random: 7 urandom warning(s) missed due to ratelimiting
[    3.865361] EXT4-fs (sda7): mounting ext3 file system using the ext4 subsystem
[    4.161142] EXT4-fs (sda7): mounted filesystem with ordered data mode. Opts: (null)
[    4.383775] scsi 4:0:0:0: Direct-Access     WD       Elements 2621    1026 PQ: 0 ANSI: 6
[    4.384257] sd 4:0:0:0: Attached scsi generic sg2 type 0
[    4.384753] sd 4:0:0:0: [sdb] 1953458176 512-byte logical blocks: (1.00 TB/931 GiB)
[    4.385750] sd 4:0:0:0: [sdb] Write Protect is off
[    4.385755] sd 4:0:0:0: [sdb] Mode Sense: 47 00 10 08
[    4.386746] sd 4:0:0:0: [sdb] No Caching mode page found
[    4.386754] sd 4:0:0:0: [sdb] Assuming drive cache: write through
[    6.525139] ip_tables: (C) 2000-2006 Netfilter Core Team
[    6.644504] systemd[1]: systemd 237 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN2 +IDN -PCRE2 default-hierarchy=hybrid)
[    6.656222] systemd[1]: Detected architecture x86-64.
[    6.671956] systemd[1]: Set hostname to <acer-veriton>.
[    7.306753]  sdb: sdb1
[    7.309845] sd 4:0:0:0: [sdb] Attached SCSI disk
[    9.136799] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[    9.137230] systemd[1]: Created slice User and Session Slice.
[    9.137273] systemd[1]: Reached target Remote File Systems.
[    9.137571] systemd[1]: Created slice System Slice.
[    9.137712] systemd[1]: Listening on udev Kernel Socket.
[    9.137856] systemd[1]: Listening on udev Control Socket.
[    9.137966] systemd[1]: Listening on fsck to fsckd communication Socket.
[    9.479340] EXT4-fs (sda7): re-mounted. Opts: errors=remount-ro
[   10.112811] systemd-journald[268]: Received request to flush runtime journal from PID 1
[   10.194280] lp: driver loaded but no devices found
[   10.351871] ppdev: user-space parallel port driver
[   14.089160] shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
[   14.211895] ACPI Warning: SystemIO range 0x0000000000000828-0x000000000000082F conflicts with OpRegion 0x0000000000000800-0x000000000000084F (\PMRG) (20170831/utaddress-247)
[   14.211905] ACPI Warning: SystemIO range 0x0000000000000828-0x000000000000082F conflicts with OpRegion 0x0000000000000800-0x000000000000084F (\PMRG) (20170831/utaddress-247)
[   14.211911] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
[   14.211964] lpc_ich: Resource conflict(s) found affecting gpio_ich
[   14.224629] leds_ss4200: no LED devices found
[   15.403846] gpio_ich: GPIO from 462 to 511 on gpio_ich
[   15.406980] coretemp coretemp.0: Using relative temperature scale!
[   15.407014] coretemp coretemp.0: Using relative temperature scale!
[   15.953377] intel_powerclamp: No package C-state available
[   15.961604] intel_powerclamp: No package C-state available
[   16.517167] pci 0000:00:00.0: Intel G33 Chipset
[   16.517199] pci 0000:00:00.0: detected gtt size: 524288K total, 262144K mappable
[   16.517459] pci 0000:00:00.0: detected 8192K stolen memory
[   16.517496] [drm] Memory usable by graphics device = 512M
[   16.517501] checking generic (d0000000 500000) vs hw (d0000000 10000000)
[   16.517503] fb: switching to inteldrmfb from VESA VGA
[   16.517743] Console: switching to colour dummy device 80x25
[   16.520294] [drm] Replacing VGA console driver
[   16.526449] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[   16.526453] [drm] Driver supports precise vblank timestamp query.
[   16.527872] i915 0000:00:02.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=io+mem:owns=io+mem
[   16.631574] [drm] RC6 disabled, disabling runtime PM support
[   16.631619] [drm] initialized overlay support
[   16.632111] [drm] Initialized i915 1.6.0 20171023 for 0000:00:02.0 on minor 0
[   16.687319] fbcon: inteldrmfb (fb0) is primary device
[   16.687499] Console: switching to colour frame buffer device 160x64
[   16.687551] i915 0000:00:02.0: fb0: inteldrmfb frame buffer device
[   17.213713] snd_hda_codec_realtek hdaudioC0D0: autoconfig for ALC1200: line_outs=4 (0x14/0x15/0x16/0x17/0x0) type:line
[   17.213717] snd_hda_codec_realtek hdaudioC0D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[   17.213720] snd_hda_codec_realtek hdaudioC0D0:    hp_outs=1 (0x1b/0x0/0x0/0x0/0x0)
[   17.213722] snd_hda_codec_realtek hdaudioC0D0:    mono: mono_out=0x0
[   17.213724] snd_hda_codec_realtek hdaudioC0D0:    dig-out=0x1e/0x0
[   17.213726] snd_hda_codec_realtek hdaudioC0D0:    inputs:
[   17.213729] snd_hda_codec_realtek hdaudioC0D0:      Front Mic=0x19
[   17.213732] snd_hda_codec_realtek hdaudioC0D0:      Rear Mic=0x18
[   17.213734] snd_hda_codec_realtek hdaudioC0D0:      Line=0x1a
[   17.231639] input: HDA Intel Front Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input8
[   17.231757] input: HDA Intel Rear Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input9
[   17.231906] input: HDA Intel Line as /devices/pci0000:00/0000:00:1b.0/sound/card0/input10
[   17.232090] input: HDA Intel Line Out Front as /devices/pci0000:00/0000:00:1b.0/sound/card0/input11
[   17.232636] input: HDA Intel Line Out Surround as /devices/pci0000:00/0000:00:1b.0/sound/card0/input12
[   17.232751] input: HDA Intel Line Out CLFE as /devices/pci0000:00/0000:00:1b.0/sound/card0/input13
[   17.232864] input: HDA Intel Line Out Side as /devices/pci0000:00/0000:00:1b.0/sound/card0/input14
[   17.232990] input: HDA Intel Front Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card0/input15
[   19.606150] Adding 3906556k swap on /dev/sda6.  Priority:-2 extents:1 across:3906556k FS
[   20.981359] EXT4-fs (sda8): mounting ext3 file system using the ext4 subsystem
[   21.813368] EXT4-fs (sda8): mounted filesystem with ordered data mode. Opts: (null)
[   22.977164] audit: type=1400 audit(1600502158.316:2): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/lightdm/lightdm-guest-session" pid=579 comm="apparmor_parser"
[   22.977172] audit: type=1400 audit(1600502158.316:3): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/lightdm/lightdm-guest-session//chromium" pid=579 comm="apparmor_parser"
[   23.013154] audit: type=1400 audit(1600502158.352:4): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/sbin/dhclient" pid=580 comm="apparmor_parser"
[   23.013163] audit: type=1400 audit(1600502158.352:5): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/NetworkManager/nm-dhcp-client.action" pid=580 comm="apparmor_parser"
[   23.013167] audit: type=1400 audit(1600502158.352:6): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/NetworkManager/nm-dhcp-helper" pid=580 comm="apparmor_parser"
[   23.013171] audit: type=1400 audit(1600502158.352:7): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/connman/scripts/dhclient-script" pid=580 comm="apparmor_parser"
[   23.073794] audit: type=1400 audit(1600502158.412:8): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/bin/man" pid=583 comm="apparmor_parser"
[   23.073801] audit: type=1400 audit(1600502158.412:9): apparmor="STATUS" operation="profile_load" profile="unconfined" name="man_filter" pid=583 comm="apparmor_parser"
[   23.073805] audit: type=1400 audit(1600502158.412:10): apparmor="STATUS" operation="profile_load" profile="unconfined" name="man_groff" pid=583 comm="apparmor_parser"
[   23.133539] audit: type=1400 audit(1600502158.472:11): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/bin/evince" pid=581 comm="apparmor_parser"
[   38.977168] IPv6: ADDRCONF(NETDEV_UP): ens34: link is not ready
[   39.143793] IPv6: ADDRCONF(NETDEV_UP): ens34: link is not ready
[   43.232047] e1000e: ens34 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: Rx/Tx
[   43.232193] IPv6: ADDRCONF(NETDEV_CHANGE): ens34: link becomes ready
[14292.002295] perf: interrupt took too long (2509 > 2500), lowering kernel.perf_event_max_sample_rate to 79000
[14371.633264] usb 1-6: USB disconnect, device number 4
[14371.638880] scsi 4:0:0:0: rejecting I/O to offline device
[14371.638890] scsi 4:0:0:0: [sdb] killing request
[14371.638916] scsi 4:0:0:0: [sdb] FAILED Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK
[14371.638921] scsi 4:0:0:0: [sdb] CDB: Read(10) 28 00 74 6f 5f 80 00 00 08 00
[14371.638923] print_req_error: I/O error, dev sdb, sector 1953456000
[14371.639385] blk_partition_remap: fail for partition 1
[14371.639391] Buffer I/O error on dev sdb1, logical block 244181744, async page read
[14398.323332] perf: interrupt took too long (3141 > 3136), lowering kernel.perf_event_max_sample_rate to 63000
[14496.588916] usb 1-7: new high-speed USB device number 5 using ehci-pci
[14496.792990] usb 1-7: New USB device found, idVendor=1058, idProduct=2621
[14496.792995] usb 1-7: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[14496.792999] usb 1-7: Product: Elements 2621
[14496.793002] usb 1-7: Manufacturer: Western Digital
[14496.793005] usb 1-7: SerialNumber: 57584532413430464C4E334B
[14496.793447] usb-storage 1-7:1.0: USB Mass Storage device detected
[14496.797929] scsi host4: usb-storage 1-7:1.0
[14497.835560] scsi 4:0:0:0: Direct-Access     WD       Elements 2621    1026 PQ: 0 ANSI: 6
[14497.838053] sd 4:0:0:0: Attached scsi generic sg2 type 0
[14497.841665] sd 4:0:0:0: [sdb] Spinning up disk...
[14498.858794] .
[14499.882751] .
[14500.906680] .
[14500.907003] ready
[14500.907380] sd 4:0:0:0: [sdb] 1953458176 512-byte logical blocks: (1.00 TB/931 GiB)
[14500.908910] sd 4:0:0:0: [sdb] Write Protect is off
[14500.908914] sd 4:0:0:0: [sdb] Mode Sense: 47 00 10 08
[14500.910923] sd 4:0:0:0: [sdb] No Caching mode page found
[14500.910929] sd 4:0:0:0: [sdb] Assuming drive cache: write through
[14500.944683]  sdb: sdb1
[14500.948543] sd 4:0:0:0: [sdb] Attached SCSI disk
[14745.932192] perf: interrupt took too long (3930 > 3926), lowering kernel.perf_event_max_sample_rate to 50000
[15386.715100] perf: interrupt took too long (4927 > 4912), lowering kernel.perf_event_max_sample_rate to 40000
gaspahug@acer-veriton:~$ 

Hors ligne

#5 Le 19/09/2020, à 14:38

geole

Re : Disque dur externe en lecture seule - xbox one

Il serait bon que tu installes l'application smatmontools

sudo apt-get install --no-install-recommends smartmontools 

et que tu publies le retour de cette commande

sudo smartctl   -s   on   -a /dev/sdb

ainsi que

sudo blkid   | grep sdb

car

[14371.638923] print_req_error: I/O error, dev sdb, sector 1953456000
[14371.639385] blk_partition_remap: fail for partition 1

Dernière modification par geole (Le 19/09/2020, à 14:42)


Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit,  utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir  https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

Hors ligne

#6 Le 19/09/2020, à 14:42

Cimmerian

Re : Disque dur externe en lecture seule - xbox one

gaspahug@acer-veriton:~$ sudo smartctl   -s   on   -a /dev/sdb
smartctl 6.6 2016-05-31 r4324 [x86_64-linux-4.15.0-117-lowlatency] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

/dev/sdb: Unknown USB bridge [0x1058:0x2621 (0x1026)]
Please specify device type with the -d option.

Use smartctl -h to get a usage summary

gaspahug@acer-veriton:~$ sudo blkid   | grep sdb
/dev/sdb1: LABEL="Elements" UUID="B452F06C52F03528" TYPE="ntfs" PARTLABEL="Elements" PARTUUID="4fc2763c-38bb-4d99-ba1a-fc401f3a4181"
gaspahug@acer-veriton:~$ 

Hors ligne

#7 Le 19/09/2020, à 14:46

geole

Re : Disque dur externe en lecture seule - xbox one

sudo smartctl   -s   on      -d   sat    -a /dev/sdb
mount  | grep sdb

Dernière modification par geole (Le 19/09/2020, à 14:53)


Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit,  utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir  https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

Hors ligne

#8 Le 19/09/2020, à 14:48

Cimmerian

Re : Disque dur externe en lecture seule - xbox one

gaspahug@acer-veriton:~$ sudo smartctl   -s   on      -d   sat    -a /dev/sdb
smartctl 6.6 2016-05-31 r4324 [x86_64-linux-4.15.0-117-lowlatency] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Device Model:     WDC WD10SDRW-11A0XS0
Serial Number:    WD-WXE2A40FLN3K
LU WWN Device Id: 5 0014ee 212b14a4e
Firmware Version: 01.01A01
User Capacity:    1000171331584 bytes [1,00 TB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Rotation Rate:    5400 rpm
Form Factor:      2.5 inches
Device is:        Not in smartctl database [for details use: -P showall]
ATA Version is:   ACS-3 T13/2161-D revision 5
SATA Version is:  SATA 3.1, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is:    Sat Sep 19 14:46:49 2020 CEST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF ENABLE/DISABLE COMMANDS SECTION ===
SMART Enabled.

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

General SMART Values:
Offline data collection status:  (0x00)	Offline data collection activity
					was never started.
					Auto Offline Data Collection: Disabled.
Self-test execution status:      (   0)	The previous self-test routine completed
					without error or no self-test has ever 
					been run.
Total time to complete Offline 
data collection: 		(  240) seconds.
Offline data collection
capabilities: 			 (0x51) SMART execute Offline immediate.
					No Auto Offline data collection support.
					Suspend Offline collection upon new
					command.
					No Offline surface scan supported.
					Self-test supported.
					No Conveyance Self-test supported.
					Selective Self-test supported.
SMART capabilities:            (0x0003)	Saves SMART data before entering
					power-saving mode.
					Supports SMART auto save timer.
Error logging capability:        (0x01)	Error logging supported.
					General Purpose Logging supported.
Short self-test routine 
recommended polling time: 	 (   2) minutes.
Extended self-test routine
recommended polling time: 	 (  71) minutes.
SCT capabilities: 	       (0x7035)	SCT Status supported.
					SCT Feature Control supported.
					SCT Data Table supported.

SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate     0x002f   100   253   051    Pre-fail  Always       -       0
  3 Spin_Up_Time            0x0027   166   164   021    Pre-fail  Always       -       2683
  4 Start_Stop_Count        0x0032   100   100   000    Old_age   Always       -       136
  5 Reallocated_Sector_Ct   0x0033   200   200   140    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x002e   200   200   000    Old_age   Always       -       0
  9 Power_On_Hours          0x0032   100   100   000    Old_age   Always       -       165
 10 Spin_Retry_Count        0x0032   100   100   000    Old_age   Always       -       0
 11 Calibration_Retry_Count 0x0032   100   100   000    Old_age   Always       -       0
 12 Power_Cycle_Count       0x0032   100   100   000    Old_age   Always       -       112
192 Power-Off_Retract_Count 0x0032   200   200   000    Old_age   Always       -       60
193 Load_Cycle_Count        0x0032   200   200   000    Old_age   Always       -       870
194 Temperature_Celsius     0x0022   114   103   000    Old_age   Always       -       29
196 Reallocated_Event_Count 0x0032   200   200   000    Old_age   Always       -       0
197 Current_Pending_Sector  0x0032   200   200   000    Old_age   Always       -       0
198 Offline_Uncorrectable   0x0030   100   253   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x0032   200   200   000    Old_age   Always       -       0
200 Multi_Zone_Error_Rate   0x0008   100   253   000    Old_age   Offline      -       0

SMART Error Log Version: 1
No Errors Logged

SMART Self-test log structure revision number 1
No self-tests have been logged.  [To run self-tests, use: smartctl -t]

SMART Selective self-test log data structure revision number 1
 SPAN  MIN_LBA  MAX_LBA  CURRENT_TEST_STATUS
    1        0        0  Not_testing
    2        0        0  Not_testing
    3        0        0  Not_testing
    4        0        0  Not_testing
    5        0        0  Not_testing
Selective self-test flags (0x0):
  After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delay.

Hors ligne

#9 Le 19/09/2020, à 14:56

geole

Re : Disque dur externe en lecture seule - xbox one

Le disque est en très  bon état
Pourrais-tu le débrancher et le brancher dans un autre port USB.  Puis au bout d une minute environ

dmesg | tail -100
mount

Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit,  utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir  https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

Hors ligne

#10 Le 19/09/2020, à 15:00

Cimmerian

Re : Disque dur externe en lecture seule - xbox one

gaspahug@acer-veriton:~$ dmesg | tail -100
[   16.520294] [drm] Replacing VGA console driver
[   16.526449] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[   16.526453] [drm] Driver supports precise vblank timestamp query.
[   16.527872] i915 0000:00:02.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=io+mem:owns=io+mem
[   16.631574] [drm] RC6 disabled, disabling runtime PM support
[   16.631619] [drm] initialized overlay support
[   16.632111] [drm] Initialized i915 1.6.0 20171023 for 0000:00:02.0 on minor 0
[   16.687319] fbcon: inteldrmfb (fb0) is primary device
[   16.687499] Console: switching to colour frame buffer device 160x64
[   16.687551] i915 0000:00:02.0: fb0: inteldrmfb frame buffer device
[   17.213713] snd_hda_codec_realtek hdaudioC0D0: autoconfig for ALC1200: line_outs=4 (0x14/0x15/0x16/0x17/0x0) type:line
[   17.213717] snd_hda_codec_realtek hdaudioC0D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[   17.213720] snd_hda_codec_realtek hdaudioC0D0:    hp_outs=1 (0x1b/0x0/0x0/0x0/0x0)
[   17.213722] snd_hda_codec_realtek hdaudioC0D0:    mono: mono_out=0x0
[   17.213724] snd_hda_codec_realtek hdaudioC0D0:    dig-out=0x1e/0x0
[   17.213726] snd_hda_codec_realtek hdaudioC0D0:    inputs:
[   17.213729] snd_hda_codec_realtek hdaudioC0D0:      Front Mic=0x19
[   17.213732] snd_hda_codec_realtek hdaudioC0D0:      Rear Mic=0x18
[   17.213734] snd_hda_codec_realtek hdaudioC0D0:      Line=0x1a
[   17.231639] input: HDA Intel Front Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input8
[   17.231757] input: HDA Intel Rear Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input9
[   17.231906] input: HDA Intel Line as /devices/pci0000:00/0000:00:1b.0/sound/card0/input10
[   17.232090] input: HDA Intel Line Out Front as /devices/pci0000:00/0000:00:1b.0/sound/card0/input11
[   17.232636] input: HDA Intel Line Out Surround as /devices/pci0000:00/0000:00:1b.0/sound/card0/input12
[   17.232751] input: HDA Intel Line Out CLFE as /devices/pci0000:00/0000:00:1b.0/sound/card0/input13
[   17.232864] input: HDA Intel Line Out Side as /devices/pci0000:00/0000:00:1b.0/sound/card0/input14
[   17.232990] input: HDA Intel Front Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card0/input15
[   19.606150] Adding 3906556k swap on /dev/sda6.  Priority:-2 extents:1 across:3906556k FS
[   20.981359] EXT4-fs (sda8): mounting ext3 file system using the ext4 subsystem
[   21.813368] EXT4-fs (sda8): mounted filesystem with ordered data mode. Opts: (null)
[   22.977164] audit: type=1400 audit(1600502158.316:2): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/lightdm/lightdm-guest-session" pid=579 comm="apparmor_parser"
[   22.977172] audit: type=1400 audit(1600502158.316:3): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/lightdm/lightdm-guest-session//chromium" pid=579 comm="apparmor_parser"
[   23.013154] audit: type=1400 audit(1600502158.352:4): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/sbin/dhclient" pid=580 comm="apparmor_parser"
[   23.013163] audit: type=1400 audit(1600502158.352:5): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/NetworkManager/nm-dhcp-client.action" pid=580 comm="apparmor_parser"
[   23.013167] audit: type=1400 audit(1600502158.352:6): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/NetworkManager/nm-dhcp-helper" pid=580 comm="apparmor_parser"
[   23.013171] audit: type=1400 audit(1600502158.352:7): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/connman/scripts/dhclient-script" pid=580 comm="apparmor_parser"
[   23.073794] audit: type=1400 audit(1600502158.412:8): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/bin/man" pid=583 comm="apparmor_parser"
[   23.073801] audit: type=1400 audit(1600502158.412:9): apparmor="STATUS" operation="profile_load" profile="unconfined" name="man_filter" pid=583 comm="apparmor_parser"
[   23.073805] audit: type=1400 audit(1600502158.412:10): apparmor="STATUS" operation="profile_load" profile="unconfined" name="man_groff" pid=583 comm="apparmor_parser"
[   23.133539] audit: type=1400 audit(1600502158.472:11): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/bin/evince" pid=581 comm="apparmor_parser"
[   38.977168] IPv6: ADDRCONF(NETDEV_UP): ens34: link is not ready
[   39.143793] IPv6: ADDRCONF(NETDEV_UP): ens34: link is not ready
[   43.232047] e1000e: ens34 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: Rx/Tx
[   43.232193] IPv6: ADDRCONF(NETDEV_CHANGE): ens34: link becomes ready
[14292.002295] perf: interrupt took too long (2509 > 2500), lowering kernel.perf_event_max_sample_rate to 79000
[14371.633264] usb 1-6: USB disconnect, device number 4
[14371.638880] scsi 4:0:0:0: rejecting I/O to offline device
[14371.638890] scsi 4:0:0:0: [sdb] killing request
[14371.638916] scsi 4:0:0:0: [sdb] FAILED Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK
[14371.638921] scsi 4:0:0:0: [sdb] CDB: Read(10) 28 00 74 6f 5f 80 00 00 08 00
[14371.638923] print_req_error: I/O error, dev sdb, sector 1953456000
[14371.639385] blk_partition_remap: fail for partition 1
[14371.639391] Buffer I/O error on dev sdb1, logical block 244181744, async page read
[14398.323332] perf: interrupt took too long (3141 > 3136), lowering kernel.perf_event_max_sample_rate to 63000
[14496.588916] usb 1-7: new high-speed USB device number 5 using ehci-pci
[14496.792990] usb 1-7: New USB device found, idVendor=1058, idProduct=2621
[14496.792995] usb 1-7: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[14496.792999] usb 1-7: Product: Elements 2621
[14496.793002] usb 1-7: Manufacturer: Western Digital
[14496.793005] usb 1-7: SerialNumber: 57584532413430464C4E334B
[14496.793447] usb-storage 1-7:1.0: USB Mass Storage device detected
[14496.797929] scsi host4: usb-storage 1-7:1.0
[14497.835560] scsi 4:0:0:0: Direct-Access     WD       Elements 2621    1026 PQ: 0 ANSI: 6
[14497.838053] sd 4:0:0:0: Attached scsi generic sg2 type 0
[14497.841665] sd 4:0:0:0: [sdb] Spinning up disk...
[14498.858794] .
[14499.882751] .
[14500.906680] .
[14500.907003] ready
[14500.907380] sd 4:0:0:0: [sdb] 1953458176 512-byte logical blocks: (1.00 TB/931 GiB)
[14500.908910] sd 4:0:0:0: [sdb] Write Protect is off
[14500.908914] sd 4:0:0:0: [sdb] Mode Sense: 47 00 10 08
[14500.910923] sd 4:0:0:0: [sdb] No Caching mode page found
[14500.910929] sd 4:0:0:0: [sdb] Assuming drive cache: write through
[14500.944683]  sdb: sdb1
[14500.948543] sd 4:0:0:0: [sdb] Attached SCSI disk
[14745.932192] perf: interrupt took too long (3930 > 3926), lowering kernel.perf_event_max_sample_rate to 50000
[15386.715100] perf: interrupt took too long (4927 > 4912), lowering kernel.perf_event_max_sample_rate to 40000
[18179.227452] usb 1-7: USB disconnect, device number 5
[18182.136018] usb 1-6: new high-speed USB device number 6 using ehci-pci
[18182.340170] usb 1-6: New USB device found, idVendor=1058, idProduct=2621
[18182.340175] usb 1-6: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[18182.340179] usb 1-6: Product: Elements 2621
[18182.340182] usb 1-6: Manufacturer: Western Digital
[18182.340185] usb 1-6: SerialNumber: 57584532413430464C4E334B
[18182.340634] usb-storage 1-6:1.0: USB Mass Storage device detected
[18182.345396] scsi host4: usb-storage 1-6:1.0
[18183.366612] scsi 4:0:0:0: Direct-Access     WD       Elements 2621    1026 PQ: 0 ANSI: 6
[18183.368862] sd 4:0:0:0: Attached scsi generic sg2 type 0
[18183.373100] sd 4:0:0:0: [sdb] Spinning up disk...
[18184.389908] .
[18185.413874] .
[18185.414157] ready
[18185.414535] sd 4:0:0:0: [sdb] 1953458176 512-byte logical blocks: (1.00 TB/931 GiB)
[18185.415551] sd 4:0:0:0: [sdb] Write Protect is off
[18185.415557] sd 4:0:0:0: [sdb] Mode Sense: 47 00 10 08
[18185.416547] sd 4:0:0:0: [sdb] No Caching mode page found
[18185.416556] sd 4:0:0:0: [sdb] Assuming drive cache: write through
[18185.456688]  sdb: sdb1
[18185.460913] sd 4:0:0:0: [sdb] Attached SCSI disk
gaspahug@acer-veriton:~$ mount
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs (rw,nosuid,relatime,size=1638312k,nr_inodes=409578,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=332148k,mode=755)
/dev/sda7 on / type ext3 (rw,relatime,errors=remount-ro,data=ordered)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
cgroup on /sys/fs/cgroup/unified type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,name=systemd)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
cgroup on /sys/fs/cgroup/rdma type cgroup (rw,nosuid,nodev,noexec,relatime,rdma)
cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=40,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=12931)
mqueue on /dev/mqueue type mqueue (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime,pagesize=2M)
tracefs on /sys/kernel/debug/tracing type tracefs (rw,relatime)
configfs on /sys/kernel/config type configfs (rw,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
/dev/sda8 on /home type ext3 (rw,relatime,data=ordered)
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=332144k,mode=700,uid=1000,gid=1000)
gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)
/dev/sdb1 on /media/gaspahug/Elements type fuseblk (ro,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096,uhelper=udisks2)
gaspahug@acer-veriton:~$ 

Hors ligne

#11 Le 19/09/2020, à 15:25

Cimmerian

Re : Disque dur externe en lecture seule - xbox one

J'ai l'impression que le fait d'avoir branché mon DD externe sur ma xbox one a modifié le système de fichier en NTFS. Est-ce la raison de mon soucis ? faut-il formater mon DD externe ?

Hors ligne

#12 Le 19/09/2020, à 15:54

geole

Re : Disque dur externe en lecture seule - xbox one

On voit que le montage s'est fait en mode lecture seule
/dev/sdb1 on /media/gaspahug/Elements type fuseblk (ro,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096,uhelper=udisks2)
gaspahug@acer-veriton:~$

Il faudrait rw  Aucune cause n'est indiquée.   Une partition formatéeen NTFS est assez classique . Il n'y a pas lieu de changer. Je te propose les trois commandes suivantes

sudo umount -v  /dev/sdb1
sudo mount  -v   /dev/sdb1     /media/gaspahug/Elements
ls -ls  /media/gaspahug

Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit,  utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir  https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

Hors ligne

#13 Le 19/09/2020, à 15:58

Cimmerian

Re : Disque dur externe en lecture seule - xbox one

gaspahug@acer-veriton:~$ sudo umount -v  /dev/sdb1
[sudo] Mot de passe de gaspahug : 
umount: /media/gaspahug/Elements (/dev/sdb1) démonté
gaspahug@acer-veriton:~$ sudo mount  -v   /dev/sdb1     /media/gaspahug/Elements
The disk contains an unclean file system (0, 0).
Metadata kept in Windows cache, refused to mount.
Falling back to read-only mount because the NTFS partition is in an
unsafe state. Please resume and shutdown Windows fully (no hibernation
or fast restarting.)
ntfs-3g-mount: failed to access mountpoint /media/gaspahug/Elements: Aucun fichier ou dossier de ce type
gaspahug@acer-veriton:~$ ls -ls  /media/gaspahug
total 0
gaspahug@acer-veriton:~$ 

Hors ligne

#14 Le 19/09/2020, à 16:17

geole

Re : Disque dur externe en lecture seule - xbox one

L'explication est claire.
Il faut d'abord  brancher le disque à un windows, y accéder  puis demander à windows de démonter le disque avant de le retirer.
NOTA.  La XBOX a peut-être une procédure spéciale de libération du disque.
==Conseil de seagate  Pour protéger vos données, veillez à éteindre la console de jeu Xbox One avant de débrancher le lecteur.

Dernière modification par geole (Le 19/09/2020, à 16:29)


Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit,  utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir  https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

Hors ligne