0% found this document useful (0 votes)
213 views

Solaris ZFS - Interview Questions - UnixArena

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
0% found this document useful (0 votes)
213 views

Solaris ZFS - Interview Questions - UnixArena

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 5
Solaris ZFS - Interview Questions - UnixArena http://www.unixarena.com/2013/06/solaris-2fs-inte, 1o0f5 SOLARIS ZFS — INTERVIEW QUESTIONS te tmerview Questons, 25,25 Tuorals ‘As we know Oracle made ZFS is a default root ZFS - Q&A filesystem from Solaris 11 onwards. This shows Yow are tired their future plans of improving ZFS and making it as works best volume manager cum filesystem in near = COQRACLE future Customers would like to have ZFS in their SOLARIS. environment since its @ inbuilt volume manager and there is no adiitional operating cost unlike VXVM. They preferred ZFS data volumes in mid range servers and recommended as root FS in critical environment for its Liveupgrade facility. So each customer would lke to have ZFS knowledgeable system admins on their environment. Now a days you can expect more questions from ZFS in Solaris interviews. Here we will see some of common ZFS interview questions. More ZFS tips can be found here, 9 L.What is ZFS 7 A. ZFS is filesystem cum volume managed developed by sun microsystems (Now its Oracle).Itis a 128-it fle system Q 2.How to create new zpoal ? ‘A. The new zpool can be create using “zpool create pool_name cxtxdx cxtxdx" @ 3.What type of raid levels are supported in ZFS ? A 1. Striped Vdev's (RAIDO) 2. Mirrored Vadev's (RAIDI) 3. Striped Mitrored Vdev's (RAID1O) 4, RAIDZ (RAIDS-Single parity) 5, RAIDZ2 (RAIDS-Double parity) 6. RAIDZ3 (Tiple Parity) 4.5 it possible to reduce the zpool size ? |A. No You canst reduce the zpoo! size since all the disks will n stripped by default Q 5.How to list 2poo!’s ? ‘A. using “zpoo! list” command 08/21/2017 02:24 AM Solaris ZFS - Interview Questions - UnixArena, http://www.unixarena.com/2013/06/solaris-2fs-inte, 20f5 0.6, What is dataset in ZFS 7 A. ZFS dataset isa virtual filesystem like volume in VXVM terminology, Q T.How to create @ new dataset in ZFS 7 |A. Using 2fs create pool name/dataset_name (@ 8 How many LUNS or DISKS can be added to one ZPOOL ? ‘A. 264 LUNS or DISKS can be added to one zpool theoretically. © 9.How many dataset can be created per zpool ? ‘A, 264 dataset can be created In single zpo0l. Q.10.How many zpools can be created in Solaris global zone ? A284 zpools ca be created in a system, Q.11.How to list the 21s snapshots ? A. Use “Zs list [grep @ " to get the list of snapshots 0.12. Isit possible to use fsck in ZFS 7 ‘A. No.You can’t use fsck in ZFS.You can check the zpool integrity using “zpool scrub pool_name' Q 131s possible to extend zfs dataset in online ? A. Yes. you can increase the ZFS dataset size in online without un-mounting it @ 141s possible to extend zpool on fly ? ‘A. Yes. You can extend the zpool in online by just adding new disks using “zpool add pool_name cxtxdx ” command 9 15.What is minimum physical memory if you are using ZFS ? A, Normally we recommend to use 4GB physical memory © 16 Best practice of ZFS Mirrored Root Pool Disk Replacement, ‘A. You can perform the live disk replacement if the server supports hotplug and rpoo! is mirrored. Step: Offline the disk in 2po0! 4# zpool offline rpool cxtxcx Step:2 08/21/2017 02:24 AM Solaris ZFS - Interview Questions - UnixArena, http://www.unixarena.com/2013/06/solaris-2fs-inte, 30f5 LUnconfigure the disk from OS level # clgadm -c unconfigure c1::dskicextxdx. Step:3 Physical replace the disk Step:4 Reconfigure the disk in OS level # clgadm -c configure cl=dskloxtxd. Step:5 Confirm that the replacement disk has an SMI label and a slice 0 to match the existing root poo! configuration Step:6 Making ZFS aware by using below command # zpool replace rpool cxtxdxs0 step:6 Bring the disk in to 215 online, # zpool online rpool cxtxdxs0 Step:7 Install the bootblock. 4# installboot -F 2fs /usr/platformy* uname -1"Jb/ts/2fs/bootblk fdevirdsk/cxbxdxs0 0.17. How to destroy zfs dataset ? ‘A. Using “zfs destroy pool_name/dataset_ name” Q.18 How to set new mountpoint to 2fs dataset ? ‘A. Using “zfs set mountpoint 0.17 How to rename ZFS dataset ? ‘A. We can use “zfs rename pool_name/dataset_name_old pool_name/dataset_name_new” 1ew_mount_point pool name/dataset_name 0.1815 it possible to recover destroyed 2pool ? A. Yes.We can recover destroyed 2po0! 0.19 How to assign zpoolzts dataset to local zones ? 'A, We can assign zpool/zis to local zone. © 20How to increase rpool size ? ‘A, We can increase the rpool size by using new big disks 08/21/2017 02:24 AM Solaris ZFS - Interview Questions - UnixArena, http://www.unixarena.com/2013/06/solaris-2fs-inte, 40f5 Q 211s it possible to convert root filesystem from UFS to ZFS? A. Yes. we can convert root filesystem from UFS to ZFS using liveupgrade 9 22.:How to create ZFS dataset like vxvmyuts volume ? ‘A. By setting quota and reservation for dataset we can get volumes like vxvm. 023. ‘A. No.t will not consume any space when you create snapshot-The snapshot size will grow according to data napshot consume any disk space when you create it? ‘changes in the volume, Q 24. What is emulated volume in ZFS ? {A tis @ ZFS volume without ZFS filesystem on it.You can create UFS/VXFS on this, Q25.How to do the dry run on zpool? You can use ‘option to run dry run without performing any action.For an example if you want to know how the objects will be build using command without create the zpool,use -n option. 0 26. [sit possible to use ZFS as swap in solaris ? A. Yes.We can use ZFS emulated volume as swap. Q.27How to rename the zpool ? ‘A. We can rename the zpool using below method. Step:1 Export the zpoo! # zpool export pool_name Step:2 Import the zpool name using new name. 4# zpool import pool_name new_poolname © 30. Is it possible to create zpool using files ? {A Yes, we can create a zpoo! using files which are created by using mkfile command. & # mkfile 64m ftest 08/21/2017 02:24 AM Solaris ZFS - Interview Questions - UnixArena, http://www.unixarena.com/2013/06/solaris-2fs-inte, 5 ofS 4# zpool create arenzpool /test 0 31.00 we need to update Jetcivistab for ZFS datasets 7 A. By default,e no need to update vistab for zfs dataset. If you set 2/s mountpoint as legacy, then you have to update it Q 32.00 we need to maintain any configuration files for zpool ? ‘A. No Wie no need to maintain any configuration fles.8y default all device based zpool will be Imported and mounted ‘according to the mountpoint value. © 33. How to perform the zpool scrub to check zpoo! integrity ? ‘A. use command “pool scurb pool_name” 9 34.00 we have to run mkfs command to create a ZFS on zis datasets 7 |A. No.We no need to create ZFS filesystem using mkts.ZF5 will automatically create filesystem and mountpoint when you create dataset. It wll be automatically mount with dataset name if you didn’t mentioned the ‘mountpoint there, | would like every one to add ZFS related questions in the comment field.So that I can update this article with those questions and answers, Thank you for reading this article, Good luck for interview. 08/21/2017 02:24 AM

You might also like