Unable to write to remote drive?

krs


Joined
Sep 16, 2008
Messages
3,574
Reaction score
618
Points
113
Location
Canada
How? Bob-Data doesn't appear anywhere other than Disk Utility. Normally, if I want to do something like that, I drag it from wherever to a listed drive in finder. If I click on Bob, all the files are listed, but Bob-Data doesn't appear anywhere
Same here with Mojave and APFS
I have an APFS Container called "Container disk3" and when I open that an APFS Volume "Crucial 1TB" (which I named)
 
Joined
Jan 1, 2009
Messages
16,407
Reaction score
4,757
Points
113
Location
Winchester, VA
Your Mac's Specs
MBP 16" 2023 (M3 Pro), iPhone 16 Pro, plus ATVs, AWatch, MacMinis (multiple)
Same here with Mojave and APFS
I have an APFS Container called "Container disk3" and when I open that an APFS Volume "Crucial 1TB" (which I named)
Can you provide more information? What does "same here" refer to?

Here is a brief-ish tutorial, again, on APFS:

Hardware level: the drive mechanism, RDHD or SSD, has a name. In the OP's case, named "JMicron Generic Media." It has one partition on it, the entire drive of 2TB. It is formatted with APFS and has one Container, named "Bob volumes" on it. It has two Volumes in that Container, "Bob" and "Bob-Data." Hemp has told us it was once a boot drive, so on the "Bob" Volume will be folders named System, Applications, and Library, that correspond to /System, /Applications, and /Library in Finder. That Volume is read only to all except the system itself. If a User wants to write to the Volume, the User has to use a System function to do that. For example, if Hemp wanted to install an app for ALL users, he would have to use an Admin account authority to install the app. The System would accept his authorization and the System would install that app into the /Applications folder, which is where all the apps that are for ALL users are stored. If Hemp installed an app just for himself, he would authenticate it and it would be installed into ~/Users/<<His account>>/Applications, and would be available only to HIM, no other user. Those three areas in "Bob" are even more protected in Ventura to the extent that not only are they read-only, they are encrpypted and locked. In Ventura, that area is then verified with Apple through hashes and a Snapshot is made of that area. The system actually boots from that snapshot, not the secure area. You can see that here in Disk Utility on my system:

Screenshot 2023-01-26 at 7.46.32 PM.jpg

The hardware is the APPLE SSD... line.
Container disk3 has the Macintosh HD volumes in it, with Macintosh HD that is greyed out being the secure, encrypted system files and the Macintosh HD snapshot being the boot image. All of my data is on the Macintosh HD - Data Volume.

Now, if I have an APFS volume that has never been a boot volume, or which has been reformatted OUT of being a boot volume, it looks different. See this:

Screenshot 2023-01-26 at 7.49.55 PM.jpg

A Samsung SSD T5 is formatted APFS, Container disk5 is the entire SSD and it has on it a Volume named Samsung. That is then mounted on my desktop and appears as a drive there. I use it for external storage of various stuff I don't need on my internal storage. The Micron Tech Media is also formatted APFS, with Container disk7 having, again, one Volume named "Backup" which is used for my TM backups.

Now, the operating system is smart enough to know that, in Hemp's case, Bob and Bob-data are a matched pair of Volumes that are bootable, so, when it is mounted, it appears as a single drive named "Bob." I think Apple did that when they decided to separate out the two volumes so that users who didn't muck about with Disk Utility would see the ONE icon on the Desktop and in Finder for Macintosh HD, the default name, and in that "drive" would be the same four folders: /System, /Applications, /Library, and /Users, just as were there with HFS+ formatting. And for most folks, that's all you need to do. To an average user, it would appear that they have read/write to their own folder, as usual, and that Apple had made /System, /Applications, and /Library read-only, if they noted it at all.

But now that Hemp has taken the drive out of the Mac and no longer boots from it, the protections still are there, so when he tries to write to "Bob," it's trying to write to the root of the "Bob" Volume, which is not permitted by any account but the system, and he gets frustrated. He can't mount "Bob-data" directly because it is logically tied to "Bob" still, but he can navigate to /Bob/Users/<<his account>> and write there, just as before.

Without seeing how your drive is set up with Containers and Volumes, I cannot speak to your particular issue, whatever it may be. But if your "Crucial 1TB" was a boot drive, I would suspect you have a Container with two Volumes in it, "Crucial 1TB" and "Crucial 1TB-Data." Or, if not and you just have the one Volume named Crucial 1TB, then you have access to it completely.

One final thought that I mentioned before. All Volumes share the free space on the drive or storage area. So, if I had a drive with 1TB of space, and if on that drive I put one Container with all of the 1TB, and in that Container I had two Volumes, named V1 and V2, they would share the free space in the container. It gets strange if you look at it, sometimes. Let's say V1 has 200GB on it and V2 has 300GB on it. If I did a "Get Info" on both, they would each report 500GB free! But, you say, 500+200 on V1, plus 500+300 on V2 adds to 1.5TB and the whole drive is only 1TB. How can that be? As i said, they share the free space. If you add another 200GB to V1, the reports would change to show only 300GB space free on each "drive" as mounted. V1 would have 400GB on it, with 300GB free, and V2 would remain at 300GB used and only 300GB free. Again, they share that free space.

EDIT: One more caution. Hemp said he wants to backup to that external. If you do, don't use Time Machine. Time Machine now takes over a drive completely for itself, locking out all others from writing to it. So, you can make copies of folder/files on it, or use something like Carbon Copy Cloner to clone a folder from internal to the right place on it, or SD! or Chronosync. None of them do what TM does.
 

krs


Joined
Sep 16, 2008
Messages
3,574
Reaction score
618
Points
113
Location
Canada
Can you provide more information? What does "same here" refer to?
Same as was posted just above my post.
One container and one volume, not two volumes one with the macOS and the other for data.
That's why I mentioned that my macOS is Mojave, same macOS "Bob" mentioned was probably the OS on that 2TB SSD
Seems to me that with Mojave the two volumes you refer to don't show separately in the left pane of Disk Utility, it just shows as one volume called "Crucial 1TB" in my case
Hardware level: the drive mechanism, RDHD or SSD, has a name. In the OP's case, named "JMicron Generic Media." It has one partition on it, the entire drive of 2TB. It is formatted with APFS and has one Container, named "Bob volumes" on it. It has two Volumes in that Container, "Bob" and "Bob-Data."
Hemp said earlier thathe does not have two volumes "Bob" and "Bob-Data" - all I'm saying, neither do I.
I assume that Apple changed the way volumes show in Disk Utility on a later macOS and that is why you see two volumes.
Point is that on Mojave, if that was the macOS on the 2TB SSD, there is no separate "Bob-Data" or in my case "Crucial 1TB-Data" one can write to.
Now, if I have an APFS volume that has never been a boot volume, or which has been reformatted OUT of being a boot volume, it looks different.
I'm talking about a boot volume
Now, the operating system is smart enough to know that, in Hemp's case, Bob and Bob-data are a matched pair of Volumes that are bootable, so, when it is mounted, it appears as a single drive named "Bob." I think Apple did that when they decided to separate out the two volumes so that users who didn't muck about with Disk Utility would see the ONE icon on the Desktop and in Finder for Macintosh HD.......
That is already the case with Mojave - one icon on the desktop but also only one volume shown in Disk Utilities.
Without seeing how your drive is set up with Containers and Volumes, I cannot speak to your particular issue, whatever it may be. But if your "Crucial 1TB" was a boot drive, I would suspect you have a Container with two Volumes in it, "Crucial 1TB" and "Crucial 1TB-Data." Or, if not and you just have the one Volume named Crucial 1TB, then you have access to it completely.
I don't have any issues, I just wanted to see what Disk Utility shows on my Mac since I'm running Mojave (same as Hemp on that 2TB SSD)
EDIT: One more caution. Hemp said he wants to backup to that external. If you do, don't use Time Machine. Time Machine now takes over a drive completely for itself, locking out all others from writing to it.
I wonder if that is well known - or, when one selects TM for a backup drive - that information comes up.
Lately I have seen a few posts on the forum about people with TM and other files on the same drive and ending up in a mess they are trying to resolve.
I don't use TM myself, but I assume one could partition an external drive, assign TM to one partition and use the other for storage without any issues.
 
Joined
Jan 1, 2009
Messages
16,407
Reaction score
4,757
Points
113
Location
Winchester, VA
Your Mac's Specs
MBP 16" 2023 (M3 Pro), iPhone 16 Pro, plus ATVs, AWatch, MacMinis (multiple)
Hemp said earlier thathe does not have two volumes "Bob" and "Bob-Data" - all I'm saying, neither do I.
But he does have them. Look at the image in his post #15. You can see Bob and Bob-data, just as I talked to.
I assume that Apple changed the way volumes show in Disk Utility on a later macOS and that is why you see two volumes.
Nope. Apple changed the structure of the drive to put two Volumes in the Container. Nothing to do with show in DU. In fact, they took steps to merge the two for the average user who never opens DU at all.
I wonder if that is well known
Well, Apple says this:
  • Use this storage device only as your Time Machine backup disk, not for storage of other files.
here: Back up your Mac with Time Machine

I think users really need to do some study on the functions before using them. And the changes in the various versions of the OS. It's never good to make assumptions.
 

krs


Joined
Sep 16, 2008
Messages
3,574
Reaction score
618
Points
113
Location
Canada
But he does have them. Look at the image in his post #15. You can see Bob and Bob-data, just as I talked to.
Yes, I see that now.
I never looked at the image, just read the text.

I'm booted off an external Crucial 1TB SSD in a Sabrent enclosure running Mojave and I see this in DU Crucial DU.jpg
 
Joined
Jan 1, 2009
Messages
16,407
Reaction score
4,757
Points
113
Location
Winchester, VA
Your Mac's Specs
MBP 16" 2023 (M3 Pro), iPhone 16 Pro, plus ATVs, AWatch, MacMinis (multiple)
I am trying to remember back to Mojave. I think the dual Volume approach appeared in either Catalina or Big Sur, but I'm not totally confident of that. It's definitely been in Monterey and Ventura.

In any case, Hemp has two Volumes, so he should be able to write to "Bob-data" by navigating to /Bob/Users/<<his account>> and writing there.
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top