[solved] format a zfs drive to what, with what

Im going to rebuild my zfs array, and im not sure i did it right the first time.  Can somebody please point out to me what command line tool to use, and what filesystem i need to be putting on there?  I once thought it was a zfs file system, but is this just a layer on top of another filesystem?  I clearly remember not having to format the drives last time i build an array, and they had been ext3 if i remember correctly, not sure if i wiped them agan after that. Is this normal, wrong, or what am i missing?
note, my drives have GPT partition tables.
Edit: a thought, since ZFS can use GPT partition table, and if i created the Partition to use the entire disk using gdisk, then is that all that is needed?  shoudl i have stopped there, or do i need to do some kind for formatting?
Last edited by wolfdogg (2013-09-30 20:58:39)

wolfdogg wrote:so can someone clarify if i use gdisk to zap the partition table, then recreate a new GPT, then create a partition(the whole drive), is that it?  then i can create the zpools no problem?   So doesnt itjust use the disk as is?  i dont ever remember the drive going through a long format process when setting up zpools, they are just available for use right away.
Zfs uses the disk as is, that means there is no need to create a partition, or filesystem. Just clean the drives with dd and use zpool create afterwards.
Wiki: https://wiki.archlinux.org/index.php/ZF … orage_pool
EDIT: Remember to add all you drives to the command, for example like this:
RaidZ1:
zpool create tank raidz1 /dev/sdb /dev/sdc /dev/sdd /dev/sde
There are lots of examples on the manpage of zpool.
Last edited by teateawhy (2013-09-30 12:26:04)

Similar Messages

  • Mac-formatted FAT32 external drive: cannot read with windows

    I'm posting here in the hopes that it's a mac problem. I have 2 external drives, each USB and each very large (120+GB each). both contain a few files larger than 4 GB each. I formatted each drive using my Mac, one in Leopard and one previously in Tiger; each is FAT32 formatted and can be read easily with my Macbook in Leopard. I also have a 4GB flash drive that is FAT32 formatted, which was formatted using my Macbook.
    when I plug either drive into a Windows machine (Vista or XP Pro SP2) it goes through the new hardware wizard but the drives do not show up in Explorer. the disk management service shows the drives but they appear as "unallocated space" and cannot be accesed. the option I have when I right-click on the drive is "Initialize". I sold my Macbook and don't have access to it anymore, and even if I did, the process of moving all of these files (a total of ~150GB) to an FTP server and then onto my new Vista machine is not possible. the even weirder thing is that my FAT32 formatted flash drive shows up on any windows machine without a problem.
    Can someone explain what might have happened here? since the drives are both easily readable with any Mac (I've tried two, one with Leopard and one with Tiger) and they both show up in the Mac as FAT32 formatted, I can't imagine why they cannot be read with a Windows machine.

    You cannot give yourself full access when connected like this. It is not supported. the only way to access an NTFS device with write privileges is while it is connected to a Windows host. This is because your Mac doesn't know what to do with the ACL information. While it's connected to a Windows host, you can get at the share and use the host's information to authenticate to it.
    If you want to use it directly attached to the Mac, you need to have it formatted in a Mac readable format. Mac OS Journaled, HFS+, FAT32 among others... It'll need to be FAT if you want Windows to access it too though (and you can't set permissions on FAT drives like you can NTFS or HFS etc).

  • How to Format Toshiba Hard-Drive for Mac with Parallels?

    Hello,
    I recently bought a Toshiba Hard-Drive with the following features:
    500GB
    It is a Canivo Basics 3.0
    It is USB 3.0 and 2.0 portable hard drive
    It has already been formatted NTFS for Windows XP, Vista, 7, and 8
    The box says that it can be reformatted for Mac
    I have a Macbook Pro with Retina Display that I bought this year in late March/early April.
    It runs OS X Mavericks, and Parallels Desktop 9 for Mac.
    I would like to reformat it so that I can use it on my laptop both with Windows and Mac OS at the same time. I do not wish to use a partition as I want to access the hard drive through Mac and Windows at the same time on my laptop and I also want to be able to access the Mac things on a Windows computer and vice versa.
    I have never formatted a hard drive before, and I would like to use a completely safe software, or no software at all, if it is possible.
    I am sorry but I don't have a very high knowledge of this.
    Thanks,
    Sandy-Wood

    It would be easier, using Parallels, just to format the drive for "Mac OS Extended (Journaled)". You can see it both in the Windows/Parallels and the Mac side. Leaving it formatted as NTFS is not going to allow you to access (write to) the drive unless you use third-party software. Formatting it for Mac lets you use it, as I said, on both the Parallels VM and the Mac side.
    If you were using Boot Camp, I would advise leaving it formatted as NTFS and purchasing NTFS for Mac to access the drive on both OS's. You can mitigate that by formatting the drive for Mac:
    Good luck,
    Clinton

  • Formatting an external drive to use with my new Mac

    Hi
    As per my other posts, I'm expecting a new Mac i7 with OS X Mountain Lion, due in mid Feb.
    I am currently a PC user (have been for years, apologies ) and want to take all my photos (tens of thousands) from the PC and load them to the mac, or store them in a useable way...
    I have a Western Digital 1tb NTFS drive, and i understand that I need to reformat this into a FAT32 format.
    Does this give me issues with a 4gb or 32gb limit?  Not sure if it's relevant but I don't have massive files... movies at 700mb perhaps...
    Anyone done anything similar that might be able to offer advice?
    Thank
    Liam

    Let me clarify further (but thanks for the input so far...)
    I am migrating from a life of PC use, to an all singing all dancing Mac.  Once migrated, the PC will go to a nephew starting uni shortly, never to darken my doorstop again.
    The ideal solution would be to produce a drive that  can copy all my stuff onto, that can be read and copied from to the mac, and then ideally be formatted again, to use solely with the mac..
    Does that alter anything?
    Liam

  • Format external hard drive for use with macbook pro

    I have an old external drive that has been used with a pc.
    Now I have formatted the disc on the pc, but seemingly, I need to format it for the MacBook Pro, as well.
    How to?
    Rgds Jan

    Go to disk utility
    Format it in Mac OSX extended journaled
    Warning-- doing so will erase all data on the drive

  • Format a 3TB drive as MBR, with one HFS+, and one NTFS

    hi all,
    I have an external 3TB hard drive, USB. I used a mac to partition it, 2.25TB is HFS+ (Mac OS extended - journaled) and the other is 490gb NTFS (to use on windows). disk utility would not give me the option to use MBR (master boot record) said something about invalid entry, dont remember exactly. so i used the GUID table. It works fine on macs, but windows tells me i need to reformat it. It is my understanding that most all 64bit versions of windows can read/write a GUID disk. Any ideas on either how to get windows to mount it, or to get DU to let me format it with an MBR table?

    Can't really help with your two questions, but a couple of alternatives...
    NTFS-3G Stable Read/Write Driver...
    http://www.ntfs-3g.org/
    MacFUSE: Full Read-Write NTFS for Mac OS X, Among Others...
    http://www.osnews.com/story/16930
    MacDrive for the PCs... allows them to Read/Write HFS+...
    http://www.mediafour.com/products/macdrive/

  • Formatting an External Drive to work with Leopard AND a PC

    Hello,
    I have 400 GBs of video footage on an external drive that only works with PCs.
    I need to get this material onto my Mac running OSX Leopard.
    I am guessing that my best option is to format a second external drive to work both with Leopord and Windows. Then transfer the footage onto the 2nd external drive via a PC.
    Any suggestions?
    Thanks,
    Marc Griffin

    What size is this HD? FYI, FAT32 has a 2TB limit on partition size & a 4GB limit on file size.
     Cheers, Tom

  • How do i format a thumb drive to work with tiger and a pc

    i want to transfer a video file from a pc to tiger but a pc formatted thumb drive isnt recognized in my ibook g4. how should i format my thumb drive

    Perhaps the beginnings of an answer to your prob could be found in this thread, PD:
    http://discussions.apple.com/thread.jspa?threadID=1731284&tstart=0
    Personally, I have never had any probs at all with my G4/10.4.11 Powerbook (USB 1.1) seeing any USB drive, even those advertised as working with only 2.0 USB.
    IMO, either your USB drive's FAT32 file structure is goofy (run Windows Scandisk & maybe even Defrag on the USB drive), or your Mac OS's USB systemfilestuff is gunked. Or your i's actual USB port(s) aren't working.
    Do other USB drives work on your i? If so, the prob's your particular USB drive in question. If not, the prob's your Mac.
    My 2 cents........

  • Format new hard drive

    Hello,
    I have some issues with the new hard drive I am currently installing. My old hard drive crashed on my MacBook Pro (Mid 12) and I bought a new hard drive to use. The problem is that I can not erase and format the hard drive to work with the operation system in the Disk Utility. I managed to partition it on a different mac, but then only changed the external settings. Is there any way I can change the internal settings through a USB with a different MacBook?
    Thank you for any suggestions!
    Tobias

    Do this:
    Install OS X Using Internet Recovery
    Be sure you backup your files to an external drive or second internal drive because the following procedure will remove everything from the hard drive.
    Boot to the Internet Recovery HD:
    Restart the computer and after the chime press and hold down the COMMAND-OPTION- R keys until a globe appears on the screen. Wait patiently - 15-20 minutes - until the Recovery main menu appears.
    Partition and Format the hard drive:
    Select Disk Utility from the main menu and click on the Continue button.
    After DU loads select your newly installed hard drive (this is the entry with the mfgr.'s ID and size) from the left side list. Click on the Partition tab in the DU main window.
    Under the Volume Scheme heading set the number of partitions from the drop down menu to one. Click on the Options button, set the partition scheme to GUID then click on the OK button. Set the format type to Mac OS Extended (Journaled.) Click on the Partition button and wait until the process has completed. Quit DU and return to the main menu.
    Reinstall OS X: Select Reinstall OS X and click on the Install button. Be sure to select the correct drive to use if you have more than one.
    Note: You will need an active Internet connection. I suggest using Ethernet if possible because it is three times faster than wireless.
    This should restore the version of OS X originally pre-installed on the computer.

  • HT5318 Ever since I updated what looked like iTunes 10.6.1 my computer has been corrupted with Malware, which has filled up all available space on my hard drive.  What do I do to get rid of the Malware?

    Ever since I updated what looked like iTunes 10.6.1 my computer has been corrupted with Malware, which has filled up all available space on my hard drive.  What do I do to get rid of the Malware?

    First, reboot. That will temporarily free up some space. According to Apple documentation, you need at least 9 GB free for normal operation. You also need enough space left over to allow for growth of your data.
    Use a tool such as OmniDiskSweeper to explore your volume and find out what's taking up the space.
    Proceed further only if the problem hasn't been solved.
    ODS can't see the whole filesystem when you run it just by double-clicking; it only sees files that you have permission to read. To really see everything, you have to run it as root.
    First, back up all data if you haven't already done so. No matter what happens, you should be able to restore your system to the state it was in at the time of that backup.
    Launch the Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ If you’re running Mac OS X 10.7 or later, open LaunchPad. Click Utilities, then Terminal in the page that opens.
    After installing ODS in the Applications folder, drag or copy — do not type — the following line into the Terminal window, then press return:
    sudo /Applications/OmniDiskSweeper.app/Contents/MacOS/OmniDiskSweeper
    You'll be prompted for your login password, which won't be displayed when you type it. You may get a one-time warning not to screw up.
    I don't recommend that you make a habit of this. Don't delete anything while running ODS as root. When you're done with it, quit it and also quit Terminal.

  • What brand external hard drive is best with time machine

    what brand of external hard drive works best with time machine?

    Contrary to the other two replies, I will relate what I've read here: WD drives are fine, but their (cheap?) enclosures are subject to failure. Some buy a bare WD drive and install it in an Oxford Chip external enclosure (OWC / macsales.com would be one source). And, I have two LaCie Quadras and one OWC Mercury Pro - both are generally recommended here. If you want it bootable, most WD drives do not support it:
    http://wdc.custhelp.com/app/answers/detail/a_id/1787/related/1/session/L2F2LzEvd GltZS8xMzUxNTIzMzIwL3NpZC9ueUFYc1g5bA%3D%3D
    Please note: it's good to have an external hard drive which has its own power supply and, as mentioned, FW 800 or USB 3). You also do not need any software that comes on the external - you will most likely need to format it anyway because most come formatted for Windows, but that is easy using Disk Utility.

  • Hi, i have version 10.6.8 and i am trying to format a usb drive. my computer doesnt have doesnt have disc utility on it anywhere. what can i do?

    Hi, Ihave a macbook pro about 2 years old running 10.6.8 and i'm trying to format a usb drive. i dont have disk utility on my computer anywhere, what can i do?

    Reinstall Snow Leopard. Or you can try to extract it from the DVD.
    How Restore Deleted or Missing OS X Components
    A few of the basic OS X installed applications can be restored from the Optional Installs installer located in the Optional installs folder on your Installer DVD.  However, if what you need is not there then follow the instructions below.
    How to Use Pacifist to Restore Deleted or Missing OS X Components
    Insert the OS X Installer DVD into the optical drive.  Use a simple utility like TinkerTool to toggle invisibility so you can see invisible items.  Alternatively, open the Terminal application in your Utilities folder and at the prompt enter the following:
    defaults write com.apple.finder AppleShowAllFiles Yes
    Press RETURN.
    To turn off the display of invisible files repeat the above command substituting No for Yes.
    The install packages are located in the /System/Installation/ folder on the DVD.
    Download the shareware utility Pacifist. Use it to extract a fresh copy of the missing item(s) from the file archives on your OS X installation DVD. The file archives are in the /System/Installations/ folder (use Go to Folder option in the Go menu of the Finder.)
    Here are Four Basic ways to use Pacifist (courtesy of George Orville.)
      A. Drag a .pkg icon onto the Pacifist window .....proceed to step 7.
      B. Click on “Open Package ....” and navigate to package desired and click “Open” in
           the open/save window.....proceed to step 7.
      C. Insert Mac OS X installer CD and when it mounts, navigate to .... Menu->Go->Go
           to Folder. In the path field enter or paste ....
    /Volumes/disc name/System/Installation/Packages (where disc name is the name of the CD/DVD that you inserted.)
    Click on the  "Go" button ..... • Drag a .pkg to Pacifist..... proceed to step 7.
    The package you'll need will have to be discovered by trial and error, but for most applications you should start with the Essentials.pkg and/or Additional Essentials.pkg.
    D. Insert your Mac OS X install disk 1 .... and open Pacifist.
    1.          In Pacifist, select "Open Mac OS X Install Packages" ... dialog may appear asking for disk 2, then disk 3 and finally disk 1 again.... {if DVD is not used)...If “Stop Loading” is selected...the procedure will stop!!!
    2a. When loading is complete, a new window appears, click the triangle to display contents of each package...Select item and proceed to step 7.
    2b.          or click the “Find” icon in the Pacifist window and type the name of the software you need.
    3.          In the list that comes back, click the top most entry for the item that you want. ..... that is the one for the English language.
    4.          On the top of the Pacifist window, click “verify” .... you will probably be prompted for your password.
    5.          Enter checks for.... “verify permissions” and “verify file contents.” and click “verify” ....enter password when prompted.... you will get back output which may look like this:
              20 files were scanned. 20 of 20 files were present on the hard disk. 0 of 20 files had file permissions that did not match those specified in the package. 0 of 20 files had checksums that did not match those specified in the package.
    6.          Click “close”. Go to step 7.
    Extract or Install........
    7.          In the Toolbar (upper left), you now have the option to extract or install. Click a file in the lower list and those two icons will be enabled.
    8.          If “Extract to...” is selected.... navigate to the location where the file will be placed, select “choose”, select “extract” in new dialog that appears,authenicate , if prompted, click “OK”.
    9.          In the next dialog, click “Extract”.
    10.          If “Install” is selected... dialog will appear with the location/path of the installed software. Click “Install”
    11.          Type in your password, click “OK”
    Pacifist will begin to extract files.
    12.          In steps 8/10ß.... you also have the choice to “cancel”
    Notes:          Pacifist may find that a file it is installing already exists on the hard disk. Pacifist will present you with an alert panel....
      • Stop
      • Leave original alone
      • Update .....
      • Default selection
      • Replace .... (Replace option should only be used on full install packages)

  • What external hard drive is compatible with Mountain Lion?

    Mountain Lion is no longer recognizing the external hard drive I was using for Time Machine --
    WD My Book Essential 3.0 WDBACW0020HBK.  What is a good external hard drive to use with Mountain Lion?

    As Shootist007 said, go to /Applications/Utilities/Disk Utility.  Select the drive you want to reformat in the Disk Utility Sidebar and make sure it say's Format : Mac OS Extended (Journaled). If so, simply hit the Erase button. Once that's done go back to Time Machine and reselect it if needed.
    If you continue to have problems with the drive, I've always used OWC drives with few issues.  Others use Lacie drives.

  • How do I format an external drive with mountain lion?

    How do I format an external drive with mountain lion?

    Applications > Utilities > Disk Utility
    select the external drive in the left pane
    partition and format in the right pane

  • I have problem with Itunes losing where podcasts and some purchased music is located. Don't know how Itunes losing the locations of the files and I can't find the files on my hard drive. What can I do to stop Itunes losing location and restore my files?

    I have problem with Itunes losing where podcasts and some purchased music is located. Don't know how Itunes losing the locations of the files and I can't find the files on my hard drive. What can I do to stop Itunes losing location and restore my files?

    Try assigning Queen as the Album Artist on the compilations in iTunes on your computer.

Maybe you are looking for

  • Some music files missing in iTunes folder, yet work fine in iTunes

    I am using current version of iTunes on OSX 10.7.5. Let's use a song for example:  Piano Man - by Billy Joel on the Greatest Hits album In iTunes, this song works fine and all songs are there.  If I go to finder>user>music>itunes>itunes music>Billy J

  • Problem in Loading - Invalid Report File Path

    Post Author: a_Mohammad CA Forum: .NET Im using CR which came as a bundle with VS2005. I deployed my ASP.NET project on online server. Sometimes, When users try to load the reports, they got an error says "Invalid Report File Path" appears at the top

  • How to Get Default Dates in Dashboard Prompts

    i just want to select two dates by default on the Dashboard prompts. Those two dates would be last day of the last quarter and last day of this quarter. Any body please give me the select statement to pick those two dates(last day of last quarter and

  • Question on Dimension Table

    When we delete a request on a InfoCube, the information not necessary on the Dimension Table does not canceled. For example if we delete all the data about year 2003 on a InfoCube, the information about 2003 continuous to alive on time dimension tabl

  • Java Virtual Machine Errors

    I am running Windows 2000 SP4 on a Compaq PC and have just begun to have problems with the JAVA Virtual Machine. All of a sudden, a message pops up that I need to download the java virtual machine. I have followed the links to download Sun's virtual