Hey everyone, I'm having trouble doing what's in the title and I'm not sure if I'm doing something wrong or if I have a faulty HDD. My setup is the following: FreeBSD and WinXP are both installed on the same disk, we'll call it ada0. I added a second disk, ada1, size 320GB, that'll hold files that need to be accessed from both systems. The disk is completely clean. I'm trying to use NTFS because I don't think there's a simple way to access UFS from WinXP. Since I can't find a way to create a NTFS filesystem from BSD, I partitioned and formatted the disk from XP. Here's what I did, step by step:
1. Opened XP's volume management tool. It asked if I wanted to "initialize" the disk as a "dynamic volume". I chose yes, then created a 250GB partition, leaving the rest unallocated.
2. Formatted the partition from XP's volume management tool as NTFS and copied a small file to the partition for testing purposes.
3. Mounted the filesystem inside BSD with the following command:
4. Added the disk to /etc/fstab:
5. Copied heavy video files that were stored in an UFS partition. No problems so far, videos playing ok from BSD.
6. Rebooted into WinXP. The folder with the videos is now inacessible, it says I/O error when I try to open it, has a size of 0 bytes and cannot be deleted.
7. Rebooted into FreeBSD. The folder now acts the exact same as in WinXP, described above.
8. Rebooted into WinXP. Tried to copy a ~5GB file to the partition. Unhelpful windows errors halfway through.
9. Rebooted into FreeBSD. Tried to copy a ~9GB file to the partition. It copies the file without any problems.
10. Rebooted into WinXP. The ~9GB file I just copied is gone.
11. Rebooted into FreeBSD. The file is still gone.
That's as far as my testing went. Will try further testing along the day. If there's a better way than using NTFS, I'm all ears. I'd love to hear from someone that has a similar setup. Thanks everyone in advance for all the usually helpful advice.
1. Opened XP's volume management tool. It asked if I wanted to "initialize" the disk as a "dynamic volume". I chose yes, then created a 250GB partition, leaving the rest unallocated.
2. Formatted the partition from XP's volume management tool as NTFS and copied a small file to the partition for testing purposes.
3. Mounted the filesystem inside BSD with the following command:
ntfs-3g /dev/ada1s1 /ntfs
4. Added the disk to /etc/fstab:
/dev/ada1s1 /ntfs ntfs mountprog=/usr/local/bin/ntfs-3g,late,rw 0 0
5. Copied heavy video files that were stored in an UFS partition. No problems so far, videos playing ok from BSD.
6. Rebooted into WinXP. The folder with the videos is now inacessible, it says I/O error when I try to open it, has a size of 0 bytes and cannot be deleted.
7. Rebooted into FreeBSD. The folder now acts the exact same as in WinXP, described above.
8. Rebooted into WinXP. Tried to copy a ~5GB file to the partition. Unhelpful windows errors halfway through.
9. Rebooted into FreeBSD. Tried to copy a ~9GB file to the partition. It copies the file without any problems.
10. Rebooted into WinXP. The ~9GB file I just copied is gone.
11. Rebooted into FreeBSD. The file is still gone.
That's as far as my testing went. Will try further testing along the day. If there's a better way than using NTFS, I'm all ears. I'd love to hear from someone that has a similar setup. Thanks everyone in advance for all the usually helpful advice.