Giter VIP home page Giter VIP logo

Comments (9)

maharmstone avatar maharmstone commented on July 26, 2024

Thank you, I'll look into it. It looks like we need to implement FSCTL_INVALIDATE_VOLUMES.

from btrfs.

maharmstone avatar maharmstone commented on July 26, 2024

I've just released version 0.5, which contains an implementation of FSCTL_INVALDIATE_VOLUMES. Can you see if it fixes your problem, please?

from btrfs.

initramfs avatar initramfs commented on July 26, 2024

Unfortunately the drive is still not being detected. I've also additionally scrubbed the drive and checked it for errors (none reported by btrfs-progs). Attached are more btrfs logs though it seems like nothing has really changed since version 0.4 (except during unmount/eject). I've also tried keeping the device plugged in during booting (rather than hot plug it after loading into Windows) which generated a much longer log, though still nothing appears in explorer or mountvol.

For simplicity, I've split the log into 3 files: btrfs-boot for booting a system with no btrfs partitions attached; btrfs-umount for the log that appears after the drive in question is unmounted (no log shows up when the drive is plugged in); btrfs-mboot for when the drive was already plugged in on boot (this seems to generate a lot of log with no results). The DebugView log has also been attached.

btrfs-boot.txt
btrfs-mboot.txt
btrfs-umount.txt
DebugView-v0.5.txt

from btrfs.

maharmstone avatar maharmstone commented on July 26, 2024

I've just released a new version, which improves support for removable devices. Can you try with that please?

from btrfs.

initramfs avatar initramfs commented on July 26, 2024

Hi, sorry for the very late reply. Unfortunately the drive is still not being detected. I have since tried to use a different external enclosure with no results. The latest log is attached below:

btrfs.txt

from btrfs.

maharmstone avatar maharmstone commented on July 26, 2024

Can you try on the version I've just released, please?

from btrfs.

initramfs avatar initramfs commented on July 26, 2024

Drive is still not detected in explorer. I noticed however that btrfs reports it's mounted (i.e. in registry I see the UUID listed). But explorer doesn't show it nor does any utility indicate it's presence. The closest I got was with the dir program, which gave me "The device is not ready." as opposed to a generic "The system cannot find the path specified." error. Using GPT fdisk I can read the GPT layout with the following information:

Partition GUID code: 0FC63DAF-8483-4772-8E79-3D69D8477DE4 (Linux filesystem)
Partition unique GUID: 3D3CF52F-0CCA-4BA2-8CA1-DC6D89D8953E
First sector: 2048 (at 1024.0 KiB)
Last sector: 937701375 (at 447.1 GiB)
Partition size: 937699328 sectors (447.1 GiB)
Attribute flags: 0000000000000000
Partition name: ''

Indicating that the drive is readable at least to the partition table.

Prior to the version 0.7 I did try to switch the metadata profile to DUP from single to no effect.

Also, all of the above only applies when the drive is present on boot. If I hotplug the drive I get no reaction from anything (btrfs logs show nothing, registry doesn't indicate mount, dir claims no drive is mounted, etc).

The associated log from 0.7:
btrfs-0.7.txt

from btrfs.

maharmstone avatar maharmstone commented on July 26, 2024

Hmm... there's no errors in that log - it looks like Windows is mounting the volume then ignoring it.

What does diskmgmt.msc look like? Are things any different if you use GPT fdisk to change the partition type to 0700?

from btrfs.

initramfs avatar initramfs commented on July 26, 2024

Sorry for the lack of response, I did not get time to test changing the partition type given I had data on the disk.

However, since version 0.9 detection now works as expected for the SSD, both hotplug and during boot, therefore I'll close the issue unless you require additional diagnostic data.

from btrfs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.