SliTaz SliTaz Forum

You are not logged in.

#1 2018-07-31 15:09:40

Darjeeling
Member
Registered: 2012-02-06
Posts: 210

GParted ...

Since 2 years we have a 3TB USB drive which I divided into 4 NTFS formatted primary partitions of almost 700 GB each. In Slitz3 the 4th partition was never visible or accessible, which probably had to do with the old kernel. But the first 3 partitions worked fine. In Slitaz5 all 4 partitions have always been accessible.

Yesterday I cleared out partitions 3 and 4, and re-formatted them with ext4, so as to preserve the permissions. I then copied lots of stuff to the new ext4 partitions and, as before, everything was ok in Slitaz5. But strangely, in Slitaz3 I can now only use the first 2 partitions. Partition No.3 doesn't show in PCMan and GParted. Does anyone know what's been happening there?

Offline

#2 2018-07-31 15:46:17

gibor
Moderator
Registered: 2011-04-30
Posts: 1,067

Re: GParted ...

Hi, for my little experience, the bug get out from fstab. Seem wrong stored same partition as same device... (slitaz3 not use UUID)

IMHO

Offline

#3 2018-07-31 19:54:41

Darjeeling
Member
Registered: 2012-02-06
Posts: 210

Re: GParted ...

Thanks for your reply, gibor. Yes, it may be something like that, although my fstab in Slitaz3 doesn't even specify any USB devices ...

[c]# [Device] [Mount Point] [Filesystem] [Options] [dump] [fsck order]
proc        /proc           proc       defaults    0        0
sysfs       /sys            sysfs      defaults    0        0
devpts      /dev/pts        devpts     defaults    0        0
tmpfs       /dev/shm        tmpfs      defaults    0        0
/dev/hda1   /media/seagate  ext3    root,rw,noauto 0        0
/dev/cdrom  /media/cdrom   iso9660  user,ro,noauto 0        0[/c]
But who knows what's going on when an external USB drive is plugged in? It had never occurred to me before but I just ran a simple fdisk and found that I can actually see all 4 partitions of the external USB drive ...

[c]root@linux:/home/tux# fdisk -l

Disk /dev/hda: 1082 MB, 1082460160 bytes
14 heads, 10 sectors/track, 15101 cylinders
Units = cylinders of 140 * 512 = 71680 bytes

   Device Boot      Start         End      Blocks  Id System
/dev/hda1              59       15039     1048576  83 Linux
Note: sector size is 4096 (not 512)

Disk /dev/sdd: 3000.5 GB, 3000558944256 bytes
255 heads, 63 sectors/track, 45599 cylinders
Units = cylinders of 16065 * 4096 = 65802240 bytes

   Device Boot      Start         End      Blocks  Id System
/dev/sdd1               1       11400   732557312   7 HPFS/NTFS
/dev/sdd2           11400       22800   732557312   7 HPFS/NTFS
/dev/sdd3           22800       34200   732557312  83 Linux
/dev/sdd4           34200       45600   732560384  83 Linux
root@linux:/home/tux# [/c]
... hda1 is my infamous 1GB Seagate drive and sdd1-4 are the four partitions of the 3TB WD USB drive. But what ever I try I cannot mount partitions 3 and 4, which is probably the reason why neither PCMan nor GParted even show them.

But I do not want to create too much fuss about the whole thing as everything works fine in Slitaz5.

Offline

#4 2018-07-31 20:22:07

gibor
Moderator
Registered: 2011-04-30
Posts: 1,067

Re: GParted ...

Easy on my case fstab store the partition swap... if I connect a device in a content a swap partition, this are stored on fstab.

All usb memory stick are /dev/sdxx, and all serial usb hardisk are marked sd... (a,b,c,etc.)

On next case if a insert new disk have partition on same position but not formatted swap, not working why are already marked of fstab as swap. And pcmanfm not view any partition marked swap.

But its only my case...

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.019 seconds, 8 queries executed - Memory usage: 1.54 MiB (Peak: 1.77 MiB) ]