You are not logged in.
Ok quick run down
I ran the following:
sudo hdparm -I /dev/sdb1 | grep locked
not lockedcat /proc/mounts
/dev/sdb1 /media/DA9829C79829A2CD ntfs ro,nosuid,nodev,relatime,uid=1000,gid=100,fmask=0177,dmask=077,nls=utf8,errors=continue,mft_zone_multiplier=1 0 0I ran a bunch of stuff to try to get the drive to RW access again such as
sudo mount /dev/sdb1 -o remount,rw
sudo mount /media/DA9829C79829A2CD/ -o remount,rw
sudo blockdev --setrw /dev/sdb
Same stuff, all comes back with an error telling me I can't do something.
dmesg | tailonly lists info on my wireless adapter
This drive isn't listed in fstab and I generally mount it through KDE when I click it. I am at wits' end here, I am curently copying my virtualbox VDI to my root partition via rsync (so I can monitor progress) and hopefully change permissions and use the VM again, and if I can't figure out this drive permission issue I am inclined on wiping the whole drive and starting over, obviously I would like to avoid doing this. Any idea on how I can set the permissions back to rw for the whole drive and contents? Thanks
EDIT:
rsync -ah --progress Win7Clone.vdi /media/2TB/test.vdi
sending incremental file list
Win7Clone.vdi
133.85G 100% 85.10MB/s 0:25:00 (xfr#1, to-chk=0/1)
rsync: mkstemp "/media/2TB/.test.vdi.SKF4rZ" failed: Permission denied (13)
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1178) [sender=3.1.2]So now I am running the same command with sudo
Edit2:
sudo doesn't do anything, same error with rsync
Ok it fixed itself. No idea how, when I rebooted I got a huge spew of stuff and had to use the power button to turn off/on my computer. Below is the info from journalctl I could find:
Jun 30 11:24:41 bigcomp kernel: ------------[ cut here ]------------
Jun 30 11:24:41 bigcomp kernel: RSP <ffff88011773bb38>
Jun 30 11:24:41 bigcomp kernel: RIP [<ffffffffa09d0c58>] ntfs_destroy_big_inode+0x18/0x40 [ntfs]
Jun 30 11:24:41 bigcomp kernel: Code: a0 48 c7 c7 90 5b 9e a0 e8 26 9c ff ff 31 c0 5b 5d c3 90 66 66 66 66 90 48 83 bf 70 ff ff ff 00 7
Jun 30 11:24:41 bigcomp kernel: [<ffffffff815c71b2>] entry_SYSCALL_64_fastpath+0x1a/0xa4
Jun 30 11:24:41 bigcomp kernel: [<ffffffff8121c108>] ? path_getxattr+0x78/0xb0
Jun 30 11:24:41 bigcomp kernel: [<ffffffff811fc876>] SyS_newlstat+0x36/0x70
Jun 30 11:24:41 bigcomp kernel: [<ffffffff811fc356>] vfs_fstatat+0x66/0xc0
Jun 30 11:24:41 bigcomp kernel: [<ffffffff81206cb6>] user_path_at_empty+0x36/0x40
Jun 30 11:24:41 bigcomp kernel: [<ffffffff812067d7>] ? getname_flags+0x37/0x190
Jun 30 11:24:41 bigcomp kernel: [<ffffffff8121bfb2>] ? getxattr+0xf2/0x1d0
Jun 30 11:24:41 bigcomp kernel: [<ffffffff81206b4d>] filename_lookup+0xad/0x140
Jun 30 11:24:41 bigcomp kernel: [<ffffffff81204c17>] path_lookupat+0x67/0x120
Jun 30 11:24:41 bigcomp kernel: [<ffffffff81204473>] walk_component+0x1e3/0x2a0
Jun 30 11:24:41 bigcomp kernel: [<ffffffff8120182c>] lookup_slow+0x5c/0xe0
Jun 30 11:24:41 bigcomp kernel: [<ffffffff8120115d>] lookup_real+0x1d/0x60
Jun 30 11:24:41 bigcomp kernel: [<ffffffff8120f705>] ? __d_alloc+0x25/0x170
Jun 30 11:24:41 bigcomp kernel: [<ffffffffa09d991d>] ntfs_lookup+0x10d/0x400 [ntfs]
Jun 30 11:24:41 bigcomp kernel: [<ffffffffa09d2887>] ntfs_iget+0x57/0xc0 [ntfs]
Jun 30 11:24:41 bigcomp kernel: [<ffffffffa09d09c0>] ? ntfs_index_lookup+0x910/0x910 [ntfs]
Jun 30 11:24:41 bigcomp kernel: [<ffffffff81211ec4>] iget5_locked+0x114/0x1b0
Jun 30 11:24:41 bigcomp kernel: [<ffffffff81211bab>] ? destroy_inode+0x3b/0x60
Jun 30 11:24:41 bigcomp kernel: Call Trace:
Jun 30 11:24:41 bigcomp kernel: ffff88011773bd50 0000000000001923 ffff8801e275c180 ffff88011773bbd0
Jun 30 11:24:41 bigcomp kernel: ffff88011d0d7138 ffffffffa09d09c0 fffffffffffffff4 ffff880146e3a600
Jun 30 11:24:41 bigcomp kernel: ffffffff81211bab ffff88011075e000 ffff88011773bb90 ffffffff81211ec4
Jun 30 11:24:41 bigcomp kernel: Stack:
Jun 30 11:24:41 bigcomp kernel: CR2: 000000000180a0c8 CR3: 0000000114580000 CR4: 00000000000026e0
Jun 30 11:24:41 bigcomp kernel: ffff88011773bd50 0000000000001923 ffff8801e275c180 ffff88011773bbd0
Jun 30 11:24:41 bigcomp kernel: ffff88011d0d7138 ffffffffa09d09c0 fffffffffffffff4 ffff880146e3a600
Jun 30 11:24:41 bigcomp kernel: ffffffff81211bab ffff88011075e000 ffff88011773bb90 ffffffff81211ec4
Jun 30 11:24:41 bigcomp kernel: Stack:
Jun 30 11:24:41 bigcomp kernel: CR2: 000000000180a0c8 CR3: 0000000114580000 CR4: 00000000000026e0
Jun 30 11:24:41 bigcomp kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Jun 30 11:24:41 bigcomp kernel: FS: 00007ff60ce21800(0000) GS:ffff88021bcc0000(0000) knlGS:0000000000000000
Jun 30 11:24:41 bigcomp kernel: R13: ffff88011773bba0 R14: ffffffffa09d0ad0 R15: ffff88004eb527b8
Jun 30 11:24:41 bigcomp kernel: R10: 0000000000000036 R11: 0000000000010000 R12: ffffc9000093e1d8
Jun 30 11:24:41 bigcomp kernel: RBP: ffff88011773bb48 R08: 0000000000000101 R09: ffffffffa09d988e
Jun 30 11:24:41 bigcomp kernel: RDX: 0000000000000001 RSI: ffff88011d0d71c0 RDI: ffff88011d0d7138
Jun 30 11:24:41 bigcomp kernel: RAX: ffffffffa09d0c40 RBX: ffff88011d0d7138 RCX: 0000000000001923
Jun 30 11:24:41 bigcomp kernel: RSP: 0018:ffff88011773bb38 EFLAGS: 00010296
Jun 30 11:24:41 bigcomp kernel: RIP: 0010:[<ffffffffa09d0c58>] [<ffffffffa09d0c58>] ntfs_destroy_big_inode+0x18/0x40 [ntfs]
Jun 30 11:24:41 bigcomp kernel: task: ffff880039560d00 ti: ffff880117738000 task.ti: ffff880117738000
Jun 30 11:24:41 bigcomp kernel: Hardware name: Dell Inc. Precision M6500 /01RV5R, BIOS A09 03/16/2012
Jun 30 11:24:41 bigcomp kernel: CPU: 3 PID: 3829 Comm: file.so Tainted: G D O 4.6.3-1-ARCH #1
Jun 30 11:24:41 bigcomp kernel: ehci_pci xhci_hcd ehci_hcd usbcore usb_common i8042 serio
Jun 30 11:24:41 bigcomp kernel: snd_pcm lpc_ich cfg80211 pcmcia_core nf_log_ipv4 fb_sys_fops libphy nf_log_common i2c_algo_bit snd_tim
Jun 30 11:24:41 bigcomp kernel: Modules linked in: nls_utf8 ntfs sha256_ssse3 sha256_generic hmac drbg ansi_cprng ctr ccm cmac ecb rfco
Jun 30 11:24:41 bigcomp kernel: invalid opcode: 0000 [#12] PREEMPT SMP
Jun 30 11:24:41 bigcomp kernel: kernel BUG at fs/ntfs/inode.c:348!After seeing all this on my shutdown attempt my next step was going to just reinstall the kernel package from pacman and hope for the best. Not sure if that would be the best approach but it's all I could think to do. Luckily I didn't have any issues upon reboot and I hope this never happens again.
I forgot to mention I ended up adding the drive to fstab with rw permissions and running
sudo mount -a it didn't do anything and I left it in when I restarted so now my drive automounts. I don't think adding it to fstab helped fix the problem but I did want to mention it.
Last edited by bangme (2016-06-30 16:34:37)
Offline