-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Linux (and Windows?) fail to mount resultant UDF drive with bs=4096 #12
Comments
thanks for the report, @atompkins! the fake partition is only in place to help Windows identify the UDF disk. if Linux cannot read the UDF partition, then it's likely not the fault of the fake partition. most likely, Mint is having an issue auto-mounting the disk. have you tried manually mounting? example: info that might help us isolate the issue:
also, please post output from each of the following:
|
I have tried one internal disk, one external disk on USB3 and one flash drive so far, all with the same result. udftools version 1.0.0b3-14.2ubuntu1
|
Thanks for the info. It's a busy week for me, but I will attempt to reproduce your issue sometime soon. In the meantime, are there any helpful clues in your syslog? Thanks! |
sorry for the scattered requests. can you also please provide output from:
many thanks. |
it's looking like Mint isn't wanting to mount for some reason. please attempt mounting with both of the following and report output:
|
also, please report output from |
other ideas:
also, it could be that Mint is improperly detecting the block size:
and, of course, the union of these two:
|
fyi, i just downloaded/installed linuxmint-17.1-cinnamon-64bit.iso onto a brand new VM, and was successfully able to format a block device using format-udf commit ac39e16 (the current latest, and functionally equivalent to v1.1.2). are you able to reproduce this issue on multiple machines other than your Tsunami machine? i'd be interested if you see success on either Ubuntu 14.04.2 LTS or Ubuntu 15.04. |
ran 2 separate tests inside the Mint VM, one with a virtual hard drive (succeeded) and one with a real flash drive i had laying around (also succeeded). |
Sorry for the delay in getting back to you. Busy here too! |
Thanks for reporting back. I'm trying to make sense of your data. You initially said that you tried one internal disk, one external disk on USB3, and one flash drive. Do all three of these have a block size of 4096? Also, if you're willing to do a bit of legwork, it would be super-helpful to collect complete information about your environment in this thread. Would you be willing to report output from the following commands? (This is just a condensed list of what I've already asked for above.)
In the meantime, I'll attempt to find a block device with bs=4096 so I can attempt to reproduce using that. Thanks! |
I have just been successful with a smaller flash drive that has a 512 block size. |
Confirmed on openSUSE 13.2, Plasma 5, an Advanced Format USB3 SAT device. Mounting manually with -o bs=4096 works, but automounting doesn't. Also, without -o, mount fails and the kernel log says:
This happens even if I format the drive manually with When using 512 block size, it works everywhere fine. But obviously that's not ideal for performance, and doesn't scale past 2 TiB. I'm thinking this may be related to the kernel issue where it misdetects block sizes then using SAT: http://nunix.fr/index.php/linux/7-astuces/65-too-hard-to-be-above-2tb Perhaps that confuses udisks2 too. As for Windows... Does it have the capability of mounting 4K UDF to begin with? I can't find a definitive answer... |
Note: See #13 |
I'll shed some light on this issue. Recently, I bought WD Red 3TB drive. I wanted to have single partition for storage and maintain Windows 8.1 + Linux compatibility. I tried to set up UDF and but I've faced some obstacles:
fdisk reading for this HDD:
For testing, I created 100MB "Microsoft basic data partition". Windows sees this partition without any issues. I initialized UDF via Windows format: BTW: for block size "discovery" I used:
Only one will work. Unfortunately,
Those work on Linux. 2048 is default mount block size on Linux, but for 4096 you need to manually provide
|
Performing some cleanup on open issues. Based on what @tkalicki reported above, I feel comfortable closing this issue with the clarifying text I've just added on the README. Essentially, there's not much that format-udf can do if OS X has trouble auto-mounting drives with certain block sizes. Related discussion is still welcome in this thread. I'm always more that happy to revisit this issue if there's any way that format-udf can produce drives that are more compatible on target OSes (while respecting the device geometry, of course). |
Linux Mint 17.1 Cinnamon sees the fake partition but not the UDF.
Interestingly my Windows 7 installation says that the disk is not initialised.
Let me know what diagnostics you need.
The text was updated successfully, but these errors were encountered: