Re: Advice requested

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Nov 2, 2015 at 7:55 PM, Phil Turmel <philip@xxxxxxxxxx> wrote:
> On 11/02/2015 08:02 PM, o1bigtenor wrote:
>
>> root@debianbase:/# dd if=/dev/md0 bs=1M count=16 |hexdump -C |head -n 1000
>> 00000260  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
>> *
>> 00100400  00 20 47 07 00 14 1c 1d  99 9a 74 01 f0 80 72 18  |. G.......t...r.|
>> 00100410  83 b0 3d 07 00 00 00 00  02 00 00 00 02 00 00 00  |..=.............|
>> 00100420  00 80 00 00 00 80 00 00  00 20 00 00 fa 46 d5 55  |......... ...F.U|
>> 00100430  78 80 e0 55 5a 00 27 00  53 ef 01 00 01 00 00 00  |x..UZ.'.S.......|
>> 00100440  1e de 6d 52 00 4e ed 00  00 00 00 00 01 00 00 00  |..mR.N..........|
>> 00100450  00 00 00 00 0b 00 00 00  00 01 00 00 3c 00 00 00  |............<...|
>> 00100460  42 02 00 00 7b 00 00 00  49 55 20 36 b4 6f 49 56  |B...{...IU 6.oIV|
>> 00100470  ad e9 35 41 a3 dd 7f 0a  00 00 00 00 00 00 00 00  |..5A............|
>> 00100480  00 00 00 00 00 00 00 00  2f 6d 65 64 69 61 2f 64  |......../media/d|
>> 00100490  61 72 61 6c 64 2f 34 39  35 35 32 30 33 36 2d 62  |arald/49552036-b|
>> 001004a0  34 36 66 2d 34 39 35 36  2d 61 64 65 39 2d 33 35  |46f-4956-ade9-35|
>> 001004b0  34 31 61 33 64 64 37 66  30 61 00 00 00 00 00 00  |41a3dd7f0a......|
>> 001004c0  00 00 d8 60 0f fa 0f 88  00 00 00 00 00 00 8b 03  |...`............|
>> 001004d0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
>> 001004e0  08 00 00 00 00 00 00 00  00 00 00 00 c7 2a e8 cd  |.............*..|
>> 001004f0  c2 6f 4d 09 8f c2 2b 44  fc 95 b6 5e 01 01 00 00  |.oM...+D...^....|
>> 00100500  00 00 00 00 00 00 00 00  a1 25 65 4f 0a f3 02 00  |.........%eO....|
>> 00100510  04 00 00 00 00 00 00 00  00 00 00 00 ff 7f 00 00  |................|
>> 00100520  00 80 88 0e ff 7f 00 00  01 00 00 00 ff ff 88 0e  |................|
>> 00100530  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
>> 00100540  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 08  |................|
>> 00100550  00 00 00 00 00 00 00 00  00 00 00 00 1c 00 1c 00  |................|
>> 00100560  01 00 00 00 80 00 00 00  00 00 00 00 00 00 00 00  |................|
>> 00100570  00 01 00 00 04 00 00 00  a8 96 ac 12 00 00 00 00  |................|
>> 00100580  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
>> *
>
> Woo hoo!  There's your ext4 superblock.
>
> Use "gdisk /dev/md0" and create a partition starting at sector 2048 and
> occupying the rest of the array.  After you save that, you may need
> "partprobe /dev/md0" to rescan it.

OK - - - can this be broken down into specific commands.

gparted

then do I use

o

for a new empty GUID partion

or?

(I see using 'r' gives some other options - - - still not clear should
I be using 'e'
how do I specify the partition starting at sector 2048?)q
>
> You'll probably end up with a device named something like /dev/md0p1.
> The output of dmesg will likely show you the device name.
>
> Use "fsck -n /dev/md0p1" to verify the filesystem, and if that has
> relatively few errors, you may mount it and start making backups.

This sounds really good.

Is there any way that I could get series of commands for doing these
different things? (This is no wheres close to what I do regularly!!!)

Thanking you for your assistance!!

Dee
>
> You'll probably end up with a device named something like /dev/md0p1.
> The output of dmesg will likely show you the device name.
>
> Use "fsck -n /dev/md0p1" to verify the filesystem, and if that has
> relatively few errors, you may mount it and start making backups.
>
> Phil
>
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux