You are not logged in.
Pages: 1
So basically thats the issue, its a 2TB raid1 formatted w/ ntfs using gpt. i'll post code to get that out of the way.
reactor dylix # gdisk -l /dev/sdc
GPT fdisk (gdisk) version 0.8.6
Partition table scan:
MBR: protective
BSD: not present
APM: not present
GPT: present
Found valid GPT with protective MBR; using GPT.
Disk /dev/sdc: 3907029168 sectors, 1.8 TiB
Logical sector size: 512 bytes
Disk identifier (GUID): 6D5A4211-2152-47C7-BBBE-DAE341B6812F
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 3907022814
Partitions will be aligned on 8-sector boundaries
Total free space is 4029 sectors (2.0 MiB)
Number Start (sector) End (sector) Size Code Name
1 34 262177 128.0 MiB 0C01 Microsoft reserved part
2 264192 3907020799 1.8 TiB 0700 Basic data partitionreactor dylix # gdisk -l /dev/sdd
GPT fdisk (gdisk) version 0.8.6
Partition table scan:
MBR: protective
BSD: not present
APM: not present
GPT: present
Found valid GPT with protective MBR; using GPT.
Disk /dev/sdd: 3907029168 sectors, 1.8 TiB
Logical sector size: 512 bytes
Disk identifier (GUID): 6D5A4211-2152-47C7-BBBE-DAE341B6812F
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 3907022814
Partitions will be aligned on 8-sector boundaries
Total free space is 4029 sectors (2.0 MiB)
Number Start (sector) End (sector) Size Code Name
1 34 262177 128.0 MiB 0C01 Microsoft reserved part
2 264192 3907020799 1.8 TiB 0700 Basic data partitionreactor dylix # gdisk -l /dev/md/Mirror
GPT fdisk (gdisk) version 0.8.6
Partition table scan:
MBR: protective
BSD: not present
APM: not present
GPT: present
Found valid GPT with protective MBR; using GPT.
Disk /dev/md/Mirror: 3907022848 sectors, 1.8 TiB
Logical sector size: 512 bytes
Disk identifier (GUID): 6D5A4211-2152-47C7-BBBE-DAE341B6812F
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 3907022814
Partitions will be aligned on 8-sector boundaries
Total free space is 4029 sectors (2.0 MiB)
Number Start (sector) End (sector) Size Code Name
1 34 262177 128.0 MiB 0C01 Microsoft reserved part
2 264192 3907020799 1.8 TiB 0700 Basic data partitionreactor dylix # mount /mnt/raid1/
NTFS signature is missing.
reactor dylix # cat /etc/fstab | grep Mirr
/dev/md/Mirror /mnt/raid1 ntfs-3g uid=dylix,gid=users,noauto 0 0
dylix@reactor ~ $ ls -lR /dev/md*
brw-rw---- 1 root disk 9, 126 Feb 14 07:37 /dev/md126
brw-rw---- 1 root disk 259, 0 Feb 14 07:37 /dev/md126p1
brw-rw---- 1 root disk 259, 1 Feb 14 07:37 /dev/md126p2
brw-rw---- 1 root disk 9, 127 Feb 14 07:37 /dev/md127
/dev/md:
total 0
lrwxrwxrwx 1 root root 8 Feb 14 07:37 imsm0 -> ../md127
lrwxrwxrwx 1 root root 8 Feb 14 07:37 Mirror -> ../md126
lrwxrwxrwx 1 root root 10 Feb 14 07:37 Mirror1 -> ../md126p1
lrwxrwxrwx 1 root root 10 Feb 14 07:37 Mirror2 -> ../md126p2reactor dylix # mdadm --misc --detail /dev/md/Mirror
/dev/md/Mirror:
Container : /dev/md/imsm0, member 0
Raid Level : raid1
Array Size : 1953511424 (1863.01 GiB 2000.40 GB)
Used Dev Size : 1953511556 (1863.01 GiB 2000.40 GB)
Raid Devices : 2
Total Devices : 2
State : clean
Active Devices : 2
Working Devices : 2
Failed Devices : 0
Spare Devices : 0
UUID : b17e60d0:68719b5d:684cb468:6a66e280
Number Major Minor RaidDevice State
1 8 32 0 active sync /dev/sdc
0 8 48 1 active sync /dev/sddso i just tried "ntfs-3g /dev/md/Mirror /mnt/raid1" and boom...
aah the joys.
[ 622.062467] ------------[ cut here ]------------
[ 622.062470] kernel BUG at drivers/md/md.c:7204!
[ 622.062471] invalid opcode: 0000 [#1] PREEMPT SMP
[ 622.062473] Modules linked in: fuse arc4 nvidia(PO) snd_hda_codec_hdmi rtl8192ce rtlwifi rtl8192c_common mac80211 cfg80211 snd_hda_codec_realtek snd_hda_intel rfkill coretemp snd_hda_codec kvm_intel kvm snd_hwdep snd_pcm crc32c_intel ghash_clmulni_intel r8169 snd_page_alloc snd_timer shpchp pci_hotplug i2c_i801 aesni_intel acpi_cpufreq iTCO_wdt snd mei aes_x86_64 iTCO_vendor_support mperf ablk_helper cryptd soundcore i2c_core evdev psmouse serio_raw xts lrw gf128mul mii pcspkr lpc_ich fan microcode processor video thermal button wmi reiserfs hid_generic usbhid hid sd_mod ahci libahci libata xhci_hcd ehci_hcd scsi_mod usbcore usb_common raid1 raid456 async_raid6_recov async_memcpy async_pq async_xor xor async_tx raid6_pq md_mod
[ 622.062494] CPU 0
[ 622.062496] Pid: 1126, comm: ntfs-3g Tainted: P O 3.7.7-1-ARCH #1 MSI MS-7758/Z77A-G41 (MS-7758)
[ 622.062497] RIP: 0010:[<ffffffffa0009d9b>] [<ffffffffa0009d9b>] md_write_start+0x19b/0x1a0 [md_mod]
[ 622.062501] RSP: 0018:ffff8803f503bc58 EFLAGS: 00010246
[ 622.062502] RAX: 0000000000000001 RBX: ffff880406d8d800 RCX: ffff88041ec1a7d0
[ 622.062503] RDX: 0000000000000000 RSI: ffff8804067f8480 RDI: ffff880406d8d800
[ 622.062504] RBP: ffff8803f503bca8 R08: ffff8804067f8480 R09: 0000000000000001
[ 622.062504] R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000001411
[ 622.062505] R13: 0000000000000000 R14: 0000000000000001 R15: ffff8804064ed9c0
[ 622.062506] FS: 00007f8cf1b29700(0000) GS:ffff88041ec00000(0000) knlGS:0000000000000000
[ 622.062507] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 622.062508] CR2: 00007fffe388fb80 CR3: 0000000405f2a000 CR4: 00000000001407f0
[ 622.062508] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 622.062509] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
[ 622.062510] Process ntfs-3g (pid: 1126, threadinfo ffff8803f503a000, task ffff8803ff0da8a0)
[ 622.062511] Stack:
[ 622.062512] ffff8803f503bd88 ffffffff8125f853 ffff8803f503bc88 ffff8803f503bd60
[ 622.062513] ffff8803ff0dae9a 0000000000000000 0000000000000000 ffff880406d8d800
[ 622.062515] 0000000000001411 0000000000000000 ffff8803f503bda8 ffffffffa00732f5
[ 622.062516] Call Trace:
[ 622.062520] [<ffffffff8125f853>] ? blk_throtl_bio+0x283/0x760
[ 622.062523] [<ffffffffa00732f5>] make_request+0x45/0xc30 [raid1]
[ 622.062525] [<ffffffff8112dae5>] ? pagevec_lookup_tag+0x25/0x40
[ 622.062527] [<ffffffff8112b2b7>] ? write_cache_pages+0x147/0x4e0
[ 622.062530] [<ffffffffa0004cac>] md_make_request+0xfc/0x240 [md_mod]
[ 622.062532] [<ffffffff811236d5>] ? mempool_alloc_slab+0x15/0x20
[ 622.062534] [<ffffffff812487e2>] generic_make_request+0xc2/0x110
[ 622.062535] [<ffffffff812488a9>] submit_bio+0x79/0x160
[ 622.062538] [<ffffffff811bad45>] ? bio_alloc_bioset+0x65/0x120
[ 622.062540] [<ffffffff8124c0a7>] blkdev_issue_flush+0x97/0xe0
[ 622.062541] [<ffffffff811bc88e>] blkdev_fsync+0x3e/0x50
[ 622.062543] [<ffffffff811b379d>] do_fsync+0x5d/0x90
[ 622.062544] [<ffffffff81184ad2>] ? sys_write+0x52/0xa0
[ 622.062546] [<ffffffff811b3b50>] sys_fsync+0x10/0x20
[ 622.062549] [<ffffffff814c301d>] system_call_fastpath+0x1a/0x1f
[ 622.062549] Code: c7 83 bc 01 00 00 00 00 00 00 f0 80 4b 28 02 f0 80 4b 28 04 48 8b bb 48 01 00 00 41 bc 01 00 00 00 e8 3a 7f ff ff e9 6e ff ff ff <0f> 0b 0f 1f 00 0f 1f 44 00 00 55 48 89 e5 f0 ff 8f 18 03 00 00
[ 622.062564] RIP [<ffffffffa0009d9b>] md_write_start+0x19b/0x1a0 [md_mod]
[ 622.062566] RSP <ffff8803f503bc58>
[ 622.062568] ---[ end trace c0e1056fbd00cd9d ]---I've googled "ntfs invalid sig" for HOURS on end with no success. Tried all the obvious solutions, but if anyone has some suggestions?
I'm pretty positive it has to do with only ntfs, as my mirror looks just fine..
Last edited by dylix (2013-02-15 02:03:33)
Offline
dylix@reactor ~ $ ls -lR /dev/md*
[…]
/dev/md:
[…]
lrwxrwxrwx 1 root root 8 Feb 14 07:37 Mirror -> ../md126
lrwxrwxrwx 1 root root 10 Feb 14 07:37 Mirror1 -> ../md126p1
lrwxrwxrwx 1 root root 10 Feb 14 07:37 Mirror2 -> ../md126p2
I think /dev/md/Mirror is a (virtual) disk with two partitions (Mirror1 and Mirror2).
What gives this commands ?
blkid /dev/md/Mirror
blkid /dev/md/Mirror1
blkid /dev/md/Mirror2reactor dylix # cat /etc/fstab | grep Mirr
/dev/md/Mirror /mnt/raid1 ntfs-3g uid=dylix,gid=users,noauto 0 0
So this is like trying to mount /dev/sda instead of /dev/sda1 on a classic configuration. Try to mount Mirror1 or Mirror2.
take time to daydream, inspiration comes ...
Offline
turns out i should have been using dmraid not mdadm, disabled mdadm from udev, added the modules for dmraid to mkinitcpio and all is well now
Offline
Pages: 1