Re: udev memory problem when trying to plug a disk with corrupted partition table
Le Mer 19 novembre 2014 21:16, Scott Ferguson a écrit :
> On 20/11/14 04:06, "Morel Bérenger" wrote:
>
>> Le Lun 17 novembre 2014 19:32, Henrique de Moraes Holschuh a écrit :
>>
>>> On Mon, 17 Nov 2014, berenger.morel@neutralite.org wrote:
>>>
>>>
>>>> So, what part of that disk should I extract, which could be usable
>>>> and sharable? Partition table, of course, which is probably at
>>>> disk's beginning, but how long might it be?
>>>
>>> That depends. What kind of partition table?
>>>
>>
>>
>> I think it's msdos.
>>
>
>
> Could you post the output of "fdisk -l /dev/$ProblematicDisk" please
> (you'll need to run the command as root)?
Note that I think this output is actuall not complete, I suspect fdisk to
not trying to show the whole one.
====================
# fdisk -l /dev/sdc
Warning: omitting partitions after #60.
They will be deleted if you save this partition table.
Disk /dev/sdc: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x80b686b1
Device Boot Start End Blocks Id System
/dev/sdc1 * 2048 1050623 524288 83 Linux
/dev/sdc2 1050624 22024191 10486784 b W95 FAT32
/dev/sdc3 22026238 520376319 249175041 5 Extended
/dev/sdc4 520376320 976773119 228198400 83 Linux
/dev/sdc5 22026240 83892223 30932992 83 Linux
/dev/sdc6 83894272 146808831 31457280 a9 NetBSD
/dev/sdc7 373573632 394545151 10485760 83 Linux
/dev/sdc8 394547200 520376319 62914560 83 Linux
/dev/sdc9 83894272 146808831 31457280 a9 NetBSD
/dev/sdc10 373573632 394545151 10485760 83 Linux
/dev/sdc11 394547200 520376319 62914560 83 Linux
/dev/sdc12 83894272 146808831 31457280 a9 NetBSD
/dev/sdc13 373573632 394545151 10485760 83 Linux
/dev/sdc14 394547200 520376319 62914560 83 Linux
/dev/sdc15 83894272 146808831 31457280 a9 NetBSD
/dev/sdc16 373573632 394545151 10485760 83 Linux
/dev/sdc17 394547200 520376319 62914560 83 Linux
/dev/sdc18 83894272 146808831 31457280 a9 NetBSD
/dev/sdc19 373573632 394545151 10485760 83 Linux
/dev/sdc20 394547200 520376319 62914560 83 Linux
/dev/sdc21 83894272 146808831 31457280 a9 NetBSD
/dev/sdc22 373573632 394545151 10485760 83 Linux
/dev/sdc23 394547200 520376319 62914560 83 Linux
/dev/sdc24 83894272 146808831 31457280 a9 NetBSD
/dev/sdc25 373573632 394545151 10485760 83 Linux
/dev/sdc26 394547200 520376319 62914560 83 Linux
/dev/sdc27 83894272 146808831 31457280 a9 NetBSD
/dev/sdc28 373573632 394545151 10485760 83 Linux
/dev/sdc29 394547200 520376319 62914560 83 Linux
/dev/sdc30 83894272 146808831 31457280 a9 NetBSD
/dev/sdc31 373573632 394545151 10485760 83 Linux
/dev/sdc32 394547200 520376319 62914560 83 Linux
/dev/sdc33 83894272 146808831 31457280 a9 NetBSD
/dev/sdc34 373573632 394545151 10485760 83 Linux
/dev/sdc35 394547200 520376319 62914560 83 Linux
/dev/sdc36 83894272 146808831 31457280 a9 NetBSD
/dev/sdc37 373573632 394545151 10485760 83 Linux
/dev/sdc38 394547200 520376319 62914560 83 Linux
/dev/sdc39 83894272 146808831 31457280 a9 NetBSD
/dev/sdc40 373573632 394545151 10485760 83 Linux
/dev/sdc41 394547200 520376319 62914560 83 Linux
/dev/sdc42 83894272 146808831 31457280 a9 NetBSD
/dev/sdc43 373573632 394545151 10485760 83 Linux
/dev/sdc44 394547200 520376319 62914560 83 Linux
/dev/sdc45 83894272 146808831 31457280 a9 NetBSD
/dev/sdc46 373573632 394545151 10485760 83 Linux
/dev/sdc47 394547200 520376319 62914560 83 Linux
/dev/sdc48 83894272 146808831 31457280 a9 NetBSD
/dev/sdc49 373573632 394545151 10485760 83 Linux
/dev/sdc50 394547200 520376319 62914560 83 Linux
/dev/sdc51 83894272 146808831 31457280 a9 NetBSD
/dev/sdc52 373573632 394545151 10485760 83 Linux
/dev/sdc53 394547200 520376319 62914560 83 Linux
/dev/sdc54 83894272 146808831 31457280 a9 NetBSD
/dev/sdc55 373573632 394545151 10485760 83 Linux
/dev/sdc56 394547200 520376319 62914560 83 Linux
/dev/sdc57 83894272 146808831 31457280 a9 NetBSD
/dev/sdc58 373573632 394545151 10485760 83 Linux
/dev/sdc59 394547200 520376319 62914560 83 Linux
/dev/sdc60 83894272 146808831 31457280 a9 NetBSD
Partition table entries are not in disk order
====================
As you will notice, the starting sectors are always the same for the 3
repetitive partitions.
When I use autocomplete on /dev/sdc, it asks me if I want to see the 256
possibilities, and I can see that I still have some (3) udevd processes.
I am wondering, is udevd started for every partition the kernel detects?
Reply to: