Stories
Slash Boxes
Comments

SoylentNews is people

Journal by miljo

So I threw a 1TB drive into one of my ESXi hosts. ESXi Doesn't play well with partitions it doesn't recognize when trying to create a new datastore. The documentation on this is crap. They mention a number of partedUtil commands for viewing partitions and deleting partitions, but for this particular disk, none of these commands worked.

I did some searching and came up with this gem.

# partedUtil mklabel /dev/disks/<disk id> msdos

This will relabel the entire drive as msdos and blow away any additional partitions. This did the trick. I'm sharing it here for my future reference.

 

Reply to: Dangerous territory

    (Score: 2) by Runaway1956 on Thursday September 24 2015, @10:09PM

    by Runaway1956 (2926) Subscriber Badge on Thursday September 24 2015, @10:09PM (#241158) Homepage

    I'm looking at the possibility of installing Qubes on bare metal. https://www.qubes-os.org/ [qubes-os.org] I've already discovered that the old partitioning tools aren't much good with terabyte drives. Have you tried gdisk? http://www.rodsbooks.com/gdisk/ [rodsbooks.com] Some similarity to fdisk, but it handles huge drives and huge partitions better. Right now, I have a MDADM RAID5, ext4 managed by LVM working on Arch, but I'm a little worried about how Qubes will handle it. A little over 5 Tb useful space on 4 physical drives. I sure don't want to risk it being destroyed by an OS that doesn't understand it.

    I'm somewhat timid - if Qubes balks at this setup, I'll probably just forget about using it, and stay with Arch and Virtualbox. To many times, I've tried to sledgehammer my way through a poorly understood process, only to destroy data. Although my RAID is less than 1/4 full, that's just to much to risk.

Post Comment

Edit Comment You are not logged in. You can log in now using the convenient form below, or Create an Account, or post as Anonymous Coward.

Public Terminal

Anonymous Coward [ Create an Account ]

Use the Preview Button! Check those URLs!


Logged-in users aren't forced to preview their comments. Create an Account!

Allowed HTML
<b|i|p|br|a|ol|ul|li|dl|dt|dd|em|strong|tt|blockquote|div|ecode|quote|sup|sub|abbr|sarc|sarcasm|user|spoiler|del>

URLs
<URL:http://example.com/> will auto-link a URL

Important Stuff

  • Please try to keep posts on topic.
  • Try to reply to other people's comments instead of starting new threads.
  • Read other people's messages before posting your own to avoid simply duplicating what has already been said.
  • Use a clear subject that describes what your message is about.
  • Offtopic, Inflammatory, Inappropriate, Illegal, or Offensive comments might be moderated. (You can read everything, even moderated posts, by adjusting your threshold on the User Preferences Page)
  • If you want replies to your comments sent to you, consider logging in or creating an account.

If you are having a problem with accounts or comment posting, please yell for help.