It make sense to have NTFS partition if windows is guest?

Discussions related to using VirtualBox on Linux hosts.
Post Reply
luquino
Posts: 41
Joined: 10. Mar 2009, 18:27
Primary OS: Ubuntu 12.04
VBox Version: OSE Debian
Guest OSses: windows
Location: Lima, Perú

It make sense to have NTFS partition if windows is guest?

Post by luquino »

On my linux box I have two hdd:
sda(1,2,3,4), 40 GB, with system and home
sdb1 15 GB NTFS, sdb2 135 GB ext3.
Before my windows machine was separated from linux and sdb1 was the windows partition for music and so on.
Now windows is guest in linux and I wonder if it make sense to have the NTFS partition, as windows access disks trough VB and linux drivers.
Furthermore, for VirtualBox is it faster and safer to access ext3 partition or ntfs ?
TerryE
Volunteer
Posts: 3572
Joined: 28. May 2008, 08:40
Primary OS: Ubuntu other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Ubuntu 10.04 & 11.10, both Svr&Wstn, Debian, CentOS
Contact:

Re: It make sense to have NTFS partition if windows is guest?

Post by TerryE »

Ext3 benchmarks on Linux run far faster than ntfs-3g. Use Ext3 to store your VDIs. The fact that your Windows VMs use NTFS internally within the virtualised drive is irrelevant.
Read the Forum Posting Guide
Google your Q site:VirtualBox.org or search for the answer before posting.
luquino
Posts: 41
Joined: 10. Mar 2009, 18:27
Primary OS: Ubuntu 12.04
VBox Version: OSE Debian
Guest OSses: windows
Location: Lima, Perú

Re: It make sense to have NTFS partition if windows is guest?

Post by luquino »

TerryE wrote:... The fact that your Windows VMs use NTFS internally within the virtualised drive is irrelevant.
Thanks Terry, I supposed it, but it is always better to ask.
Mr-Biscuit wrote:Accessing any drive requires a path and compatibility.
Faster is more applicable the more variables you have in common between the host and guest. Safer depends upon how each is set up.
You' re right Mr-Biscuit, this part of my question involves a large part of the modern computer tech.
bsmith1051
Posts: 17
Joined: 15. May 2007, 23:04

Re: It make sense to have NTFS partition if windows is guest?

Post by bsmith1051 »

For typical (default) installs the Windows guest won't know what partition type it is stored on. If you're mapping your 'sdb1' as a separate drive within Windows then it's being accessed as a network drive and, again, it wouldn't care what partition type it was.

The exception is if you want to setup native drive-access (which has much faster drive speed). I don't remember all the steps required but basically you could dedicate your 'sdb1' NTFS partition for a Windows guest and then it'd have direct access to real NTFS without any virtualization.
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: It make sense to have NTFS partition if windows is guest?

Post by Sasquatch »

bsmith1051 wrote:For typical (default) installs the Windows guest won't know what partition type it is stored on. If you're mapping your 'sdb1' as a separate drive within Windows then it's being accessed as a network drive and, again, it wouldn't care what partition type it was.

The exception is if you want to setup native drive-access (which has much faster drive speed). I don't remember all the steps required but basically you could dedicate your 'sdb1' NTFS partition for a Windows guest and then it'd have direct access to real NTFS without any virtualization.
RAW Disk Access, as you mention, isn't all that much faster as you say it is. There were some benchmarks here where the speeds were tested, and it didn't vary all that much. If you say "it's a lot faster", I would assume a difference of at least 8 MB/s, but that isn't the case. In fact, the speed difference is negligible.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
TrevorPH
Posts: 55
Joined: 30. Sep 2008, 02:37

Re: It make sense to have NTFS partition if windows is guest?

Post by TrevorPH »

luquino wrote:Now windows is guest in linux and I wonder if it make sense to have the NTFS partition, as windows access disks trough VB and linux drivers.
For Windows, you only have two choices of filesystem: FAT32 or NTFS. There is significant benefit in using NTFS as it allows for greater security controls to be applied to files and directories and also uses journaling so that data is consistent following a system crash. If I recall correctly, FAT32 will also not support files larger than 4GB in size so if you ever intend to, e.g., image a DVD then you will not be able to do so on FAT32.
TerryE
Volunteer
Posts: 3572
Joined: 28. May 2008, 08:40
Primary OS: Ubuntu other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Ubuntu 10.04 & 11.10, both Svr&Wstn, Debian, CentOS
Contact:

Re: It make sense to have NTFS partition if windows is guest?

Post by TerryE »

Trevor, I agree that NTFS is the logical file system to use in Windows, however as I read the original post, luquino now has a Linux box with a Windows VM and is wondering what filesystem to use to store his VDIs on his host.
Read the Forum Posting Guide
Google your Q site:VirtualBox.org or search for the answer before posting.
luquino
Posts: 41
Joined: 10. Mar 2009, 18:27
Primary OS: Ubuntu 12.04
VBox Version: OSE Debian
Guest OSses: windows
Location: Lima, Perú

Re: It make sense to have NTFS partition if windows is guest?

Post by luquino »

TerryE wrote:Trevor, I agree that NTFS is the logical file system to use in Windows, however as I read the original post, luquino now has a Linux box with a Windows VM and is wondering what filesystem to use to store his VDIs on his host.
yes it' s true, I just wonder if I need to keep my NTFS partitions (data partitions on other disks than the c: drive) or convert all my disks in ext3
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: It make sense to have NTFS partition if windows is guest?

Post by Sasquatch »

luquino wrote:
TerryE wrote:Trevor, I agree that NTFS is the logical file system to use in Windows, however as I read the original post, luquino now has a Linux box with a Windows VM and is wondering what filesystem to use to store his VDIs on his host.
yes it' s true, I just wonder if I need to keep my NTFS partitions (data partitions on other disks than the c: drive) or convert all my disks in ext3
Unless you use RAW Disk Access, all Host drives should be the best file system for the Host OS. So in this case, your NTFS drive should be ext3 for better compatibility on the Host. The Guest doesn't see this drive, and if you share it, the file system doesn't matter.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
luquino
Posts: 41
Joined: 10. Mar 2009, 18:27
Primary OS: Ubuntu 12.04
VBox Version: OSE Debian
Guest OSses: windows
Location: Lima, Perú

Re: It make sense to have NTFS partition if windows is guest?

Post by luquino »

Sasquatch wrote: Unless you use RAW Disk Access, all Host drives should be the best file system for the Host OS. So in this case, your NTFS drive should be ext3 for better compatibility on the Host. The Guest doesn't see this drive, and if you share it, the file system doesn't matter.
Actually I converted my NTFS partitions to ext3 and everything is working like a charm :D
Post Reply