![]() ![]() Then we will create a text file with some text in it: echo "We are playing with ZFS. Then let’s change into that mountpoint: cd /test_pool_striped We can see where our pool has been mounted with: zfs mountĪnd we should see something like: $ zfs mountįirst we’ll change the mountpoint to be owned by the current user: sudo chown $USER /test_pool_striped home/user/test_zfs_healing/disk2.img ONLINE 0 0 0 home/user/test_zfs_healing/disk1.img ONLINE 0 0 0 If we run zpool status test_pool_striped, we should see the details of our fake disks: $ zpool status test_pool_striped Note that the size is 160M from our two 100MB raw disks (200MB total), so we have the use of most of the space. NAME SIZE ALLOC FREE CKPOINT EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT If we run zpool list, we should see the new pool: $ zpool list To create a pool with a striped vdev, we run: sudo zpool create test_pool_striped \ This is performant and lets us use most of our disk space, but has no resilience. We are going to create a striped vdev, like RAID-0, in which data is striped dynamically across the two “disks”. Let’s save our working directory to a variable to make it easier to come back here later: ZFS_TEST_DIR=`pwd` If you do an ls, you should now see two img files: $ ls Now let’s create two image files to use as our fake disks: for FAKE_DISK in disk1.img disk2.imgĭd if=/dev/zero of=`pwd`/$FAKE_DISK bs=1M count=100 We are going to create image files to use as fake disks for ZFS, so that we can test them without worrying about our data.įirst, let’s create a folder to work in: mkdir test_zfs_healing Create and test a ZFS Pool with a Striped vdev Creating image files to use as fake disks View the file "live/packages.Previous step Next step 3. Refer to the "packages- x.y.z- w.txt" file in the To view all of the included packages you can either: Print the route packets trace to network host Screen manager with VT100/ANSI terminal emulationĬheck network connectivity to another host on a networkįast, versatile, remote (and local) file-copying toolĬommunicate with another host using the TELNET protocol Secure shell (ssh) connectivity tool suite GPT and MSDOS partition tables synchronization tool useful for Mac OS X users GPT partition table editor also useful to save/restore partition table to/from a file MSDOS partition table editor also useful to save/restore partition table to/from a file Text based file manager known as Midnight Commander GRand Unified Bootloader for restoring GRUB 2 boot loader (Older) data recovery tool that can help recover lost msdos partition tables Hard disk drive and SSD health inspection toolīackup partitions into a compressed image file (e.g.,īackup partitions into a compressed image fileĭata recovery tool that can help recover lost partitions Terminal emulator (provides access to command line) Right click on the desktop to access a pop-up menu. GParted Live includes additional packages, such as: You can find the available boot parameters for GParted live here. There is no root password, so if you need root privileges, login as "user", then run "sudo" to get root privileges. GParted live is based on Debian live, and the default account is "user", with password "live". Of the GParted Manual in other languages.įor x86-based Apple machines before 2012, e.g., iMac5.1 or iMac11.1, you might need to add "nomodeset enforcing=0 xforcevesa vga=791" in the boot parameters so that GParted live can boot successfully. Live Manual for instructions on how to use the Live image.įor instructions on how to use the application for partitioning ![]() iso file and burn it as an image to a CD.įor other installations, please refer to the following documents: To install GParted Live on CD, download the Creating a whole disk or partition image backup is recommended before ![]()
0 Comments
Leave a Reply. |