Tags: advanced format

03/07/13

  01:00:00 pm, by The Dreamer   , 370 words  
Categories: Computer, BOINC, Ubuntu, FreeBSD, Virtualization, VirtualBox

VirtualBox VDI and 4K alignment

So, after my Windows 7 machine at work ate itself after a Windows Update. I decided to turn it into an Ubuntu 12.04 system.

But, so much for becoming Windows free. I was informed that I need a Windows machine to run vCenter on, because the shared Windows 2003 server that we had been using is going away.

So, I setup Windows 7 in VirtualBox...pretty simple. But, soon I was getting ext4 messages complaining about unaligned access for a certain inode. The VDI for the Windows 7 install.

I searched around on VDI and 4K alignment, and eventually found this:

HOWTO: Modify empty VDI for optimal alignment of Windows

Though reading further it seems to suggest that newer versions of VirtualBox get the alignment right for you....and 4.1.24 is much newer than 3.0.12 in the original post. (had opted for 4.1.24, since 4.2.6 is not recommended for BOINC Test4Theory....but 4.2.8 is out now, and it is recommended....so it'll be time to go and update all my machines, I guess. The only systems with 4.2.6 were FreeBSD, because the 4.1.24 will cause the 9.1 kernel to panic on VM exit. though don't know if 4.1.24 was bad in ports or not, had been 4.1.22 before upgrading to 9.1 -- but had to recompile the kernel modules after the upgrade so had first tried 4.1.24....)

So, I went through the HOW-TO to create an new emtpy VDI...and found that it is already 4K aligned. So, why was the VDI created through the 'New Wizard' in VirtualBox Manager not?

Anyways...I then booted gparted and copied my partitions over to the new VDI....and then had to boot the Win7 installer to fix the startup to get it to boot, and no more complaining.

:hmm:

Guess I'll have to remember to create VDI before creating the new VM in the future? Wonder if there are issues in other disk image formats. Wonder if ZFS would complain that my VDI isn't aligned? Wonder how to check? Though the other formats I use are either VHD or VMDK. VHD because that's what Microsoft Windows Image Backup creates, and I'm using the last one of Zen to try to recover files from.... VMDK is after an import/export of a VM or for raw zvol accesses. So, guess those aren't areas of concern for me right now.

01/24/13

  10:23:00 pm, by The Dreamer   , 1549 words  
Categories: Hardware, Computer, Storage, Ubuntu, FreeBSD

SSD Craziness

Over the last year, I started buying SSD drives. It used to be that they seemed pretty expensive, and of questionable performance and reliability. But, all things have improved over the years. And, when 120GB drives dropped under $1/GB (initially after rebates, later before rebate [if any]). I didn't have an immediate need for an SSD drive at the time, but I envisioned replacing the drive in my (u) laptop. And, perhaps my (w) laptop....beyond that I wasn't sure.

 3/05/12 - Patriot Pyro 120GB             - $159.99-$40 rebate = 119.99
 3/20/12 - OCZ Agility 3 120GB            - $139.99-$30 rebate = 109.99
 4/27/12 - Mushkin Enhanced Chronos 120GB - $ 99.99
 5/16/12 - OCZ Solid 3 60GB               - $ 74.99-$20 rebate =  54.99
 8/10/12 - Sandisk 128GB                  - $ 79.99
11/21/12 - Kingston HyperX 2K 240GB       - $149.99
 1/18/13 - Sandisk Extreme 120GB          - $ 89.99-$15 reward =  74.99
 1/18/13 - Sandisk Extreme 120GB          - $ 89.99-$15 reward =  74.99

But, during this time...I had the lhaven misstep Where I had picked up the 60GB drive for that, but ended up using the Mushkin 120GB drive instead. The OCZ Agility 3 120GB had gone in as OS drive for my Xen Cloud Experiment. And, stayed when I went on to making it FreeBSD. Cut up initially as 64k boot, 32GB swap, 16GB L2ARC for the mirrored 1.5TB drives to help with dedup...and the rest...63GB root zpool.

Somehow the Patriot got misplaced for a while, so it got overlooked during the chaos.

After a 'break'. I picked up the Sandisk 128GB drive. Thinking that it might be a better choice to use to finally replace the (u) laptop harddrive. Though I waited until after the NN conference in October to do it, but before I went to LISA in December. Though I didn't finally upgrade the the OS to 12.04 (from 10.04) until just last week. I had thought about doing a clean install to 64-bit....since there were some issues since I upgraded the memory to 8GB. But, changing the hibernate method seemed to have solved the issue....so decided to leave it 32-bit. Though my (w) laptop is 64-bit...though it only has 4GB. Not sure if I'll upgrade it to 8GB. Or when I'll upgrade its harddrive to SSD.

Things have been kind of tight since...on the 128GB Sandisk drive. partly because swap got a bit bigger...had suspected that 8GB swap was iffy for hibernation....so had bumped that up. Plus the original harddrive was 160GB. But, the lion share of space consumption is my Windows XP VM. But, it get's the job done.

Meanwhile...around this time I got the idea that instead of making the risky upgrade of my two Ubuntu servers from 10.04 to 12.04, that I would set up two new FreeBSD servers and migrate the essential services over before deciding the future of those systems. So, I acquired a pair of Shuttle XS36V's...4GB of memory for each...and then eventually the plan was to acquire a pair of SSDs for them. Which I finally did last week as a pair of SanDisk Extreme 120GB drives. (with the help of $30 from Best Buy Reward Zone....and this purchase should get me a $5 reward zone soon.) And, these will probably get installed as FreeBSD 9.1.

Pages: 1· 2

Now instead of subjecting some poor random forum to a long rambling thought, I will try to consolidate those things into this blog where they can be more easily ignored profess to be collected thoughts from my mind.

Latest Poopli Updaters -- http://lkc.me/poop

bloglovin

There are 20 years 9 months 21 days 42 minutes and 53 seconds until the end of time.
And, it has been 4 years 3 months 7 days 13 hours 20 minutes and 3 seconds since The Doctor saved us all from the end of the World!

Search

March 2017
Mon Tue Wed Thu Fri Sat Sun
 << <   > >>
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31    
Google

Linkblog

  XML Feeds

Who's Online?

  • Guest Users: 2
This seal is issued to lawrencechen.net by StopTheHacker Inc.
powered by open-source CMS software

hosted by
Green Web Hosting! This site hosted by DreamHost.

monitored by
Monitored by eXternalTest
SiteUptime Web Site Monitoring Service
website uptime