How can I create a central storage location for my Mac and Windows machines to share? - windows

A few years ago I switch from PC to Mac. I didn't do this because I preferred to use a Mac, but because I desired experience working with both systems. Now, I see the pros and cons of both sides, and I use them both regularly. In fact, my job requires it.
Now though, I would like to create a central repository of all my PC / Mac data. Unfortunately there is a language barrier between NTFS and HFS+.
Is there any way I can create an efficient and reliable central repository for all my data? I prefer not to use 3rd party drivers as I've found them to be complex and often unreliable.

I think you may be confusing physical, on-disk filesystems with network filesystems.
HFS+ and NTFS are physical, on-disk layouts.
Samba/NFS (Network File System)/AFP (Apple Filing Protocol) are network filesystems.
There is nothing to stop you sharing an HFS+ physical filesystem via Samba (network filesystem) with Windows clients. Likewise, you could theoretically, share an NTFS filesystem with an OSX client via AFP.
You can just share a directory (folder) from your Mac by going to:
Apple menu (top left of screen) -> Preferences -> Sharing
Then set up like in red:
Another, brilliant option which I use for serving all my music to a SONOS system, is to get a little Raspberry Pi, that uses almost zero power, and add a 256MB USB memory stick (or maybe 4 off 64GB memory sticks as that can be cheaper) and RAID them together and make that available via Samba. It is silent and uses no power!

i do not know about your possibilities, but may be you could just use sambaserver. My router has a build in sambaserver all i have to do is plugin an USB disk.
You could also format your external hd to FAT32 filesystem. It should work for mac and windows, but it does not support files over 4GB. But its fine for document, photos and so.
good luck

I am not sure how well FTP would work but I assume you could run a FTP server in one or both systems and FTP client in the corresponding system. Most browsers can be a FTP client but there are also dedicated programs.
Mac OS X can read from NTFS drives. It also supports writing to NTFS, but that feature is disabled by default. I am not sure if it can work when the volume is online to Windows. Quick Tip: How to Write to NTFS Drives in OS X Mavericks explains it.
Enable writing to NTFS hard drives for free in Mac OS X (including El Capitan!) claims to provide read and write access to NTFS for free from Mac OS X.
You can use Apple's Boot Camp. I am not sure of the licensing requirements for the Windows you run in the Apple system but apparently you can use your existing license.
There is also Catacombae - HFSExplorer for accessing Mac-formatted hard disks and disk images from Windows.
There is also commercial software available. A popular one is Paragon HFS+ for Windows 10 and Paragon NTFS for MacĀ® 14 - Write / read access to NTFS under OS X El Capitan - Introduction.
I did not know what "sambaserver" is but it is a SMB server for UNIX/Linux as described in . SMB is built into Windows; see IT: How to Transfer Files Using Microsoft File Sharing for Windows.

Related

NAS systems recommendations for transferring large HFS+ Journaled data

I want to improve my backup system by using RAID technology accompanied by Cloud backup services.
I use several macOS computers, and would prefer the NAS solution over the DAS one.
The first step would be to backup all my existing data.
I currently store it in external HHD/SSD formatted in HFS+ Journaled;
1x HDD 4TB - almost full - Format: HFS+ Journaled.
1x SSD 4TB - almost full - Format: HFS+ Journaled.
1x SSD 1TB - almost full - Format: HFS+ Journaled.
My professional surroundings as well as reviews on the internet often recommend the brand Synology.
I was tempted to make the following investment according to my needs:
Synology DS1821+ (8 bays)
5x 8TB HHD (WD Red Plus WD80EFZX 8TB)
SHR-2 protection type (24TB of free space, 16TB allocated for protection)
IDriveĀ® Cloud backup service (provides DSM extension).
Problem:
I want to find the best way to efficiently and safely transfer all my current data (around 10 TB) from my external HDD/SSD disks (HFS+ Journaled fromats) to the future NAS volume.
I have the feeling that doing so via SMB or FTP will be way to long and uncertain.
So I thought that the most straight forward way would probably be to simply connect each external disks directly to the NAS (USB 3.1), and simply transfer portions of all data manually directly in DSM.
However, after extra investigations, I was surprised to learn the following:
Synology knowledge base says:
https://www.synology.com/enus/knowledgebase/DSM/help/DSM/AdminCenter/system_externaldevice_devicelist
Some models support HFS/HFS Plus with read-only.
Journal is not supported on HFS/HFS Plus.
You will need to install exFAT Access from Package Center to enable Synology NAS to support exFAT.
Make sure you have ejected the external disk before unplugging it.
Clearly states that no model supports journaling.
Product specs says:
https://www.synology.com/en-us/products/DS1821+#specs
Unless I am missing it, it does not inform much about the journaling matter or size limits.
About disabling journaling via the Disk utility app on macOS:
It feels like it is only possible via CLI these days (since BigSur).
I understand what disabling journaling implies, that it is probably not a big deal for temporary transferring all the data to the NAS, but I still would like to avoid such accommodations as much as possible (I've never done it, I don't know).
I looked for NAS alternatives that would support HFS+ Journaled formats but couldn't find any.
Are my concerns justified or am I overthinking this ?
Any pieces of advice from experienced NAS & macOS users would be much appreciated.

How do you programmatically detect dual booting (particularly Linux) from within Windows?

My dad is looking for ways to automate checking the settings of a Windows server for giving it a standards compliance grade. He needs to know if more than one OS is installed, but wants to avoid taking down the server at all costs. Is there any technique within Windows (XP and newer) for programmatically ascertaining whether a machine has multiple OSs installed?
It depends on what you consider "an installed OS".
At the very least you'd have to scan all partitions (including the ones Windows's limited filesystem support can't recognize) for filesystems and then see if they "look" like another OS. If you need to know if the alternate OS is bootable as well, you'll have to scan for boot loaders and their configuration as well.
By the way, what difference does it make if there's another OS installed on the computer?
Not entirely reliably. You could attempt to access the MBR and the partition table and sniff for evidence of the competition if you can persuade Windows to let you open the other partitions as raw devices. It would be a heap of work.
How about doing a checksum of the bootloader and comparing it against a known-good list of Windows OS bootloaders on the HDs?

How can I tie togeather extra space on Macintosh desktops with a distributed filesystem?

I have access to a bunch of Mac desktops, the hard drives of which are under-utilized. I want to set up a distributed filesystem to gang them together into one large virtual volume. The server has to be able to run as a normal user.
I've tried PVFS2, but it's designed for Linux and isn't running well on OSX (hangs the clients on write).
What should I use instead?
The Andrew File System (AFS) is a very mature distributed file system with OS X support. Check out OpenAFS.

Quick creation of fresh OS install for software testing

What do you recommend for quickly creating images for testing a software product (that needs hardware access - full USB port access)? Does virtualization cover this? I need to be able to quickly re-image the system to test from scratch again, and need good options for Windows and Mac OS.
Virtualization may work for you as long as it is only USB access.
VirtualBox is available with USB support either for "private use or evaluation" or commercially and works on Win, Mac and Linux. USB support on Linux and Mac is somewhat sporadical though and does not work with all devices. VBox supports snapshots.
VMWare has one free product called VMWare Server for Win and Linux but I'm not sure how far USB support is included in their server products. For Mac there is VMWare Fusion but that's not available for free. Fusion should work with most USB devices. Workstation products for Windows are more expensive. I think there is a trial version for all of them. All do snapshots.
I don't know how far Parallels (Mac) supports USB devices or snapshots.
You don't need snapshot functionality if you can afford some short downtime between re-imaging. You can shut down the VM and then just copy the disk image (which is nothing else but one or multiple regular files) and start the VM again. Snapshots can be reverted to a lot faster (without rebooting).
If virtual machines will work for you, you can choose between Virtual PC, VMWare and VirtualBox.
Virtual PC supports Win host and Win/linux guests. Although there are some caveats with regards to the X resolution support.
VMWare supports Win, OS X and Linux host. It supports Win and Linux guests.
VirtualBox supports same hosts and guests as VMWare.
None of the three supports OS X as guest officially. The reason is that OS X is licensed only for Apple machines. However, there are some hacks that allow installing OS X under VMWare. It might be also possible to install it under VirtualBox or Virtual PC, although I have not seen specific instructions.
If virtualization is not good enough for you, you can use precreated installation images or a disk imaging program.
For precreated installation images for Windows, you can use the sysprep tool (search for sysprep or system preparation tool). I don't know if there are equivalent tools for OS X from Apple.
For disk imaging programs, I know quite a lot people swear by Symantec Ghost. I personally have not used it, so can't give you much info about it. There's also a list of disk imaging programs on Wikipedia, so you evaluate these as well.
Hope that helps.
If virtualization is right for you depends on how much access direct access you actually need.
But if virtualization works then vmware offers products for Windows and Mac that support a Snapshot feature.
Or there's also VirtualBox which works on Linux, Windows and Mac, also supports snapshots and is free.
I use VMWare Player for this sort of stuff. I've not tested it with the sort of access you discuss (since I mostly do apps rather than driver-level stuff) but the advantages are many, specifically being able to copy the VM when it's shut down for later restore to a specific point (sort of a poor man's snapshot) and being able to have lots of configurations without blowing the hardware budget.
It certainly provides USB virtualization and I would say it's the best bet for providing the full device access. I would suggest testing it since, if it provides the hardware support you need, it's a very good solution for the other reasons given. The only other (non-VM) suggestion I can think of which would match it would be hard disk image backups which can be restored at will.
I've used Virtual PC heavily for this kind of thing in Windows, without ever hitting any issues. It's free, which is always a bonus ;o)
Edit: Just re-read the question - not sure that it has USB support. Should tick all the other boxes though
CloneZilla is a great, free way to reimage machines.
Once I worked for some company where we needed to test our software for various combinations of versions of OS, SPs and some other libraries which our application was dependent on. For each separate identified combination we had a separate partition image created with the help of Norton Ghost (DOS version). All images were put to a server. Whenever a tester got the next version of the system core to test, they would just methodically restore from all applicable images, install the application, test it and report it.
This approach though a straightforward one would allow full access to the hardware and will provide you with 100% native installation.
Nowadays, I still use this approach for my private PC. I'm sure you can try the latest achievements like Hyper-V. We use it nowadays where I work. When we tried to install Team Foundation Server (the process is far from being easy) we also had to drop the process at some point and just restore a virtual machine from an image because we realized we made a few mistakes during installation. Conceptually the same approach that saves a great deal of time. I'm not really sure though how compatible a virtual PC is in the sense of hardware access.
You can try both approaches.
P.S. Today there are two Ghost products, Symantec Ghost (good old one) for corporate use and Norton Ghost for home use (bloatware in my opinion). If you decide to try this option, I would recommend the Symantec Ghost (part of Ghost Solution Suite).
If you can't just use a virtual machine and take snapshots of the fresh install then do a fresh install onto real hardware and use a disk imaging tool (Ghost comes to mind).
If cost is a factor then there's a few Linux live CDs that will do what you want. This comes to mind. Put a second disk in the machine and image from the second disk unless you have fast networks and network storage; it's way to slow to go to and from the network regularly. If you're using a Linux live CD then you can actually set the second disk to EXT3 so Windows won't detect it and assign a drive letter too.
If you have a dedicated workstation for testing then I would highly recommend Symantec Ghost. Simply get the workstation to the clean state, reboot to ghost and 'take a snapshot' of the HD or partition. You can then replace the HD or partition from the image say from CD or multicasted over a network connection from another PC.
I have used it for years now, even to the point of automating the build of 60 test workstations (at the same time).

Best file system to transfer 5+GB files between OS X and Windows on removable media

I need to transfer DVD image files between a Windows XP computer and a Mac running Leopard.
The machines are not connected via a fast network, and I have a few USB drives floating around that I want to use, e.g. 8GB flash, 60GB and 250GB USB hard drives.
Sometimes the files creep above 4GB (the maximum size of a single file on FAT32), and I've had no luck with NTFS on Leopard. I'm not aware of any drivers for XP/Vista that support Mac file systems like HFS.
Anyone got any suggestions as to what file system would best suit here?
Thanks
Tom
What did you try for NTFS on Leopard?
It's pretty simple:
install MacFUSE and NTFS-3G driver.
???
Profit.
You could use split on the Mac to divide the files up into 2GB fragments and then recombine the fragments on Windows using copy.
split -b 2048m file
copy xxa + xxb file
You could try a linux filesystem, e.g. with e2fs on mac (I've only ever tried reading these however). There are drivers for windows.
Alternatively you could use the split utility on the mac to cut the file up into smaller chunks, and recombine them on windows.
Formatting to exFAT worked for me, it suppose to have some limitations with old-windows but is not my case.

Resources