mersenneforum.org  

Go Back   mersenneforum.org > Extra Stuff > Linux

Reply
 
Thread Tools
Old 2016-11-01, 14:21   #12
paulunderwood
 
paulunderwood's Avatar
 
Sep 2002
Database er0rr

E9B16 Posts
Default

Quote:
Originally Posted by ET_ View Post
I solved the first issue with gparted. Now the new drive is automatically mounted when I plug it in. Unfortunately, it looks as read-only, while gparted shows a small key near the ext4 definition. Are ext4 partitions cyphered? Is there a way to get rid of that small key ?

The actual situation is attached as image.
The image shows 29GiB "usato". My guess the disk is still corrupted. My advice is: check it is not mounted with mount; run sudo mkfs.ext4 /dev/sdb1. After it has finished, unplug the disk and plug it back in. Assuming /dev/sdb1 is the right device!

Last fiddled with by paulunderwood on 2016-11-01 at 14:24
paulunderwood is offline   Reply With Quote
Old 2016-11-01, 15:02   #13
ET_
Banned
 
ET_'s Avatar
 
"Luigi"
Aug 2002
Team Italia

32×5×107 Posts
Default

Quote:
Originally Posted by paulunderwood View Post
The image shows 29GiB "usato". My guess the disk is still corrupted. My advice is: check it is not mounted with mount; run sudo mkfs.ext4 /dev/sdb1. After it has finished, unplug the disk and plug it back in. Assuming /dev/sdb1 is the right device!
The procedure you proposed worked like a charm. Unfortunately, I have the same issues (the disk has the key in the gparted screen).

Here si the /etc/fstab listing:
Code:
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda2 during installation
UUID=6383d57e-c1b1-4cc2-9239-ca33274bcd5c /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sda1 during installation
UUID=87B8-CBD8  /boot/efi       vfat    defaults        0       1
# swap was on /dev/sda3 during installation
UUID=cfde83b0-f373-488e-ad9d-11fe38d6483b none            swap    sw              0       0
The dmesg command:

Code:
[17277.521988] usb 2-1.3: New USB device found, idVendor=0bc2, idProduct=61b5
[17277.522002] usb 2-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[17277.522005] usb 2-1.3: Product: M3 Portable
[17277.522007] usb 2-1.3: Manufacturer: Seagate
[17277.522009] usb 2-1.3: SerialNumber: C29E7E040500006E
[17277.525046] scsi host10: uas
[17277.527380] scsi 10:0:0:0: Direct-Access     Seagate  M3 Portable      1402 PQ: 0 ANSI: 6
[17277.529196] sd 10:0:0:0: Attached scsi generic sg2 type 0
[17280.526007] sd 10:0:0:0: [sdb] 3907029168 512-byte logical blocks: (2.00 TB/1.82 TiB)
[17280.526012] sd 10:0:0:0: [sdb] 4096-byte physical blocks
[17280.526994] sd 10:0:0:0: [sdb] Write Protect is off
[17280.527000] sd 10:0:0:0: [sdb] Mode Sense: 53 00 00 08
[17280.527494] sd 10:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[17280.538085]  sdb: sdb1
[17280.540498] sd 10:0:0:0: [sdb] Attached SCSI disk
[17281.311290] EXT4-fs (sdb1): mounted filesystem with ordered data mode. Opts: (null)
[17332.792799] systemd-sysv-generator[6684]: stat() failed on /etc/init.d/jexec, ignoring: No such file or directory
[17332.794682] systemd-sysv-generator[6684]: Overwriting existing symlink /run/systemd/generator.late/vboxdrv.service with real service.
[17430.726432] systemd-sysv-generator[6840]: stat() failed on /etc/init.d/jexec, ignoring: No such file or directory
[17430.728980] systemd-sysv-generator[6840]: Overwriting existing symlink /run/systemd/generator.late/vboxdrv.service with real service.
The fdisk -l /dev/sdb command:
Code:
Disk /dev/sdb: 1,8 TiB, 2000398934016 bytes, 3907029168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 33553920 bytes
Disklabel type: dos
Disk identifier: 0xfeffb313

Dispositivo Avvio Start       Fine    Settori  Size Id Tipo
/dev/sdb1            64 3907024064 3907024001  1,8T 83 Linux
The "usato" (used) is the lost+found directory, containing 16.7 KiB of non-acessible garbage.

Code:
luigi@luigi-Aspire-MC605:/media/luigi/6d719155-2cd3-420e-be1c-b871ca32e4af$ ll
totale 24
drwxr-xr-x  3 root root  4096 nov  1 15:50 ./
drwxr-x---+ 3 root root  4096 nov  1 15:51 ../
drwx------  2 root root 16384 nov  1 15:50 lost+found/
luigi@luigi-Aspire-MC605:/media/luigi/6d719155-2cd3-420e-be1c-b871ca32e4af$

Any more hints? Should I try to change the disk permissions?

Last fiddled with by ET_ on 2016-11-01 at 15:05
ET_ is offline   Reply With Quote
Old 2016-11-01, 15:11   #14
paulunderwood
 
paulunderwood's Avatar
 
Sep 2002
Database er0rr

3,739 Posts
Default

Quote:
Originally Posted by ET_ View Post
Code:
luigi@luigi-Aspire-MC605:/media/luigi/6d719155-2cd3-420e-be1c-b871ca32e4af$ ll
totale 24
drwxr-xr-x  3 root root  4096 nov  1 15:50 ./
drwxr-x---+ 3 root root  4096 nov  1 15:51 ../
drwx------  2 root root 16384 nov  1 15:50 lost+found/
luigi@luigi-Aspire-MC605:/media/luigi/6d719155-2cd3-420e-be1c-b871ca32e4af$
For some reason "root" is the owner and there is no write permissions for users...

luigi@luigi-Aspire-MC605:/media/luigi/6d719155-2cd3-420e-be1c-b871ca32e4af$ sudo chmod a+w . should do it

Last fiddled with by paulunderwood on 2016-11-01 at 15:32
paulunderwood is offline   Reply With Quote
Old 2016-11-01, 15:46   #15
ET_
Banned
 
ET_'s Avatar
 
"Luigi"
Aug 2002
Team Italia

32×5×107 Posts
Default

Quote:
Originally Posted by paulunderwood View Post
For some reason "root" is the owner and there is no write permissions for users...

luigi@luigi-Aspire-MC605:/media/luigi/6d719155-2cd3-420e-be1c-b871ca32e4af$ sudo chmod a+w . should do it
I also had to apply a chown to get through. Thanks folks, not it seems working!
ET_ is offline   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Reserved for MF - Sequence 4788 schickel Aliquot Sequences 2968 2021-07-14 21:39
Is there hope for the GPU shortage on the horizon? tServo GPU Computing 15 2018-03-08 22:20
Finding Cancer Hope in a Toxic Wasteland ewmayer Science & Technology 62 2007-11-11 04:05
Fermat's Last Theorem: a new hope ET_ Math 36 2005-11-10 22:15
I hope the new Apple store in Chicago opening today... Paulie Software 4 2003-07-16 14:19

All times are UTC. The time now is 08:33.


Sat Jul 17 08:33:33 UTC 2021 up 50 days, 6:20, 1 user, load averages: 1.35, 1.54, 1.52

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.