[Discuss] memory stick issue

Jerry Feldman gaf.linux at gmail.com
Wed Sep 14 12:54:35 EDT 2022


I tend to prefer using the GUI Disks utility provided by Fedora.
mkefs should format correctly. USB memory sticks are not good for backup
devices. USB drives are much better, especially if you are using a good
brand.

I took an dos formatted USB,, and here is what I did:
gaf at fedora ~]$  sudo mke2fs -t ext4 -Ltestme /dev/sdf
mke2fs 1.46.5 (30-Dec-2021)
Found a dos partition table in /dev/sdf
Proceed anyway? (y,N) y
Creating filesystem with 238080 4k blocks and 59520 inodes
Filesystem UUID: 77458f09-0dad-4d30-be10-500c6cc38296
Superblock backups stored on blocks:
32768, 98304, 163840, 229376

Allocating group tables: done
Writing inode tables: done
Creating journal (4096 blocks): done
Writing superblocks and filesystem accounting information: done

I then removed and plugged the stick back in
the mount command now shows:
/dev/sdf on /run/media/gaf/testme type ext4 (*rw*
,nosuid,nodev,relatime,seclabel,errors=remount-ro,uhelper=udisks2)
[gaf at fedora ~]$ cd /run/media/gaf/testme
total 20
drwxr-xr-x. 3 root root  4096 Sep 14 12:42 .
drwxr-x---+ 3 root root    60 Sep 14 12:44 ..
drwx------. 2 root root 16384 Sep 14 12:42 lost+found
[gaf at fedora testme]$ man mkdir
[gaf at fedora testme]$ sudo chown gaf.gaf .
[gaf at fedora testme]$ touch foo
[gaf at fedora testme]$ ls -al
total 20
drwxr-xr-x. 3 gaf  gaf   4096 Sep 14 12:47 .
drwxr-x---+ 3 root root    60 Sep 14 12:44 ..
-rw-r--r--. 1 gaf  gaf      0 Sep 14 12:47 foo
drwx------. 2 root root 16384 Sep 14 12:42 lost+found

On Tue, Sep 13, 2022 at 2:34 PM dan moylan <jdm at moylan.us> wrote:

>
> dan moylan once wrote:
> > running fc36 on lenevo thinkpad T460
> > moylan cmd[1051] sudo mke2fs -text4 -LBCKUP1n /dev/sdb
>       .
>       .
>       .
> > moylan cmd[105?] dmesg
>    [600097.987503] sd 2:0:0:0: [sdb] Attached SCSI removable disk
>    [600098.318616] JBD2: no valid journal superblock found
>    [600098.318619] EXT4-fs (sdb): error loading journal
>
> after poking about on the internet, i found:
>   sudo mke2fs -t ext4 -LBCKUP1n -O ^has_journal /dev/sdb
>
> that reestablished a valid journal superblock and the memory stick
> finally mounted ok.
>
> however ....
>
> moylan BCKUP1n[1088] pwd
> /run/media/moylan/BCKUP1n
> moylan BCKUP1n[1089] touch foo
> touch: cannot touch 'foo': Read-only file system
> moylan BCKUP1n[1090] ls -l
> total 20K
> drwxr-xr-x. 3 moylan moylan 4.0K 220910:1532 backintime/
> drwx------. 2 root   root    16K 220910:1525 lost+found/
> moylan BCKUP1n[1091] ls -l ../
> total 4.0K
> lrwxrwxrwx. 1 moylan moylan    8 220911:1756 BCKUP1 -> BCKUP1n//
> drwxr-xr-x. 4 moylan moylan 4.0K 220910:1532 BCKUP1n/
> moylan BCKUP1n[1092] ls -l ../../
> total 0
> drwxr-x---+ 3 moylan moylan 80 220911:1756 moylan/
>
> backintime started out ok, but then got hung up.
>
> what the hell happened?
>
> ole dan
>
> j. daniel moylan
> 84 harvard ave
> brookline, ma 02446-6202
> 617-777-0207 (cel)
> jdm at moylan.us
> www.moylan.us
> [BLM]
> _______________________________________________
> Discuss mailing list
> Discuss at lists.blu.org
> http://lists.blu.org/mailman/listinfo/discuss
>


-- 
--
Jerry Feldman <gaf.linux at gmail.com>
Boston Linux and Unix
PGP key id: 6F6BB6E7
Key fingerprint: 0EDC 2FF5 53A6 8EED 84D1  3050 5715 B88D 6F6B B6E7


More information about the Discuss mailing list