300+ ZFS FAQs and Answers for Experienced / Freshers

ZFS Interview Questions with Answers

Question: 1. What Is Zfs? 

Answer: 

ZFS is filesystem cum volume oversaw created by sun Microsystems (Now its Oracle).It is a 128-piece record framework. 

Question: 2. How To Create New Zpool? 

Answer: 

The new zpool can be make utilizing “zpool make pool_name cxtxdx “. 

JDBC Interview Questions 

Question: 3. What Type Of Raid Levels Is Supported In Zfs? 

Answer: 

Striped Vdev (RAID0) 

Reflected Vdev (RAID1) 

Stripe Mirrored Vdev (RAID10) 

RAIDZ (RAID5-Single equality) 

RAIDZ2 (RAID6-Double equality) 

RAIDZ3 (Triple Parity) 

Question: 4. Is It Possible To Reduce The Zpool Size? 

Answer: 

No.You can;t lessen the zpool size since all the circles will in stripped as a matter of course. 

JDBC Tutorial 

Question: 5. How To List Zpools? 

Answer: 

utilizing “zpool list” order. 

DB2 Using SQL Interview Questions 

Question: 6. What Is Data Set In Zfs? 

Answer: 

ZFS informational index is a virtual filesystem like volume in VXVM wording. 

Question: 7. How To Create A New Dataset In Zfs? 

Answer: 

Utilizing zfs make pool name/dataset name. 

DB2 Using SQL Tutorial Red Hat Linux System Administration Interview Questions 

Question: 8. What number of Luns Or Disks Can Be Added To One Zpool? 

Answer: 

264 LUNS or DISKS can be added to one zpool hypothetically. 

Question: 9. What number of Data Set Can Be Created Per Zpool? 

Answer: 

264 dataset can be made in single zpool. 

Solaris Interview Questions 

Question: 10. What number of Pools Can Be Created In Solaris Global Zone? 

Answer: 

264 zpool ca be made in a framework. 

Question: 11. How To List The Zfs Snapshots? 

Answer: 

Use “zfs list |grep @ ” to get the rundown of depictions. 

Veritas Volume Manager (VVM or VxVM) Interview Questions 

Question: 12. Is It Possible To Use Fsck In Zfs? 

Answer: 

No. You can’t utilize fsck in ZFS. You can check the zpool respectability utilizing “zpool clean pool name”. 

JDBC Interview Questions 

Question: 13. Is Possible To Extend Zfs Data Set In Online? 

Answer: 

Truly. You can build the ZFS dataset size in online without un-mounting it. 

Question: 14. Is Possible To Extend Zpool On Fly? 

Answer: 

Truly. You can broaden the zpool in online by simply including new circles utilizing “zpool include pool_name cxtxdx ” order. 

Question: 15. What Is Minimum Physical Memory If You Are Using Zfs? 

Answer: 

Regularly we suggest utilizing 4GB physical memory. 

Veritas Cluster Server (VCS) Interview Questions 

Question: 16. Best Practice Of Zfs Mirrored Root Pool Disk Replacement. 

Answer: 

You can play out the live circle substitution if the server underpins hot attachment and rpool is reflected. 

Step:1 

Disconnected the plate in zpool 

# zpool disconnected rpool cxtxdx 

Step:2 

Unconfigure the plate from OS level 

# cfgadm – c unconfigure c1::dsk/cxtxdx 

Step:3 

Physical supplant the plate 

Step:4 

Reconfigure the plate in OS level 

# cfgadm – c arrange c1::dsk/cxtxdx 

Step:5 

Affirm that the substitution circle has a SMI mark and a cut 0 to coordinate the current root pool arrangement 

Step:6 

Making ZFS mindful by utilizing beneath order. 

# zpool supplant rpool cxtxdxs0 

Step:7 

Acquire the circle to zfs on the web. 

# zpool online rpool cxtxdxs0 

Step:8 

Introduce the bootblock. 

# installboot – F zfs/usr/stage/’uname – I’/lib/fs/zfs/bootblk/dev/rdsk/cxtxdxs0 

Question: 17. How To Destroy Zfs Data Set? 

Answer: 

Utilizing “zfs decimate pool_name/dataset_name”. 

Legitimate Volume Manager (Linux) Interview Questions 

Question: 18. How To Set New Mount Point To Zfs Data Set? 

Answer: 

Utilizing “zfs set mount point=/new mountpoint pool name/dataset name. 

DB2 Using SQL Interview Questions 

Question: 19. How To Rename Zfs Data Set? 

Answer: 

We can utilize “zfs rename pool_name/dataset_name_old pool_name/dataset_name_new”. 

Question: 20. Is It Possible To Recover Destroyed Zpool? 

Answer: 

Truly. We can recoup pulverized zpool. 

Red Hat bunch Interview Questions 

Question: 21. How To Assign Zpool/zfs Data Set To Local Zones? 

Answer: 

We can allocate zpool/zfs to nearby zone. 

Question: 22. How To Increase Rpool Size? 

Answer: 

We can build the rpool size by utilizing new enormous plates. 

Question: 23. Is It Possible To Convert Root Filesystem From Ufs To Zfs? 

Answer: 

Truly. We can change over root filesystem from UFS to ZFS utilizing live overhaul. 

Windows Troubleshooting Interview Questions 

Question: 24. How To Create Zfs Data Set Like Vxvm/ufs Volume? 

Answer: 

By setting portion and booking for dataset ,we can get volumes like vxvm. 

Red Hat Linux System Administration Interview Questions 

Question: 25. Will Snapshot Consume Any Disk Space When You Create It? 

Answer: 

No.It won’t devour any space when you make depiction. The depiction size will develop as indicated by information changes in the volume. 

Question: 26. What Is Emulated Volume In Zfs? 

Answer: 

It is a ZFS volume without ZFS filesystem on it.You can make UFS/VXFS on this. 

Windows Clustering Interview Questions 

Question: 27. How To Do The Dry Run On Zpool? 

Answer: 

You can utilize “- n” choice to run dry run without playing out any activity. For a model on the off chance that you need to know how the articles will be construct utilizing order without make the zpool, use – n choice. 

# zpool make – n arenpool raidz cxtxdx 

would make ‘arenapool’ with the accompanying design: 

arenapool 

raidz1 

cxtxdx 

cxtxdx 

cxtxdx 

Solaris Interview Questions

Question: 28. Is It Possible To Use Zfs As Swap In Solaris? 

Answer: 

Indeed. We can utilize ZFS imitated volume as trade. 

Question: 29. How To Rename The Zpool? 

Answer: 

We can rename the zpool utilizing underneath strategy. 

Step:1 

Fare the zpool 

# zpool send out pool_name 

Step:2 

Import the zpool name utilizing new name. 

# zpool import pool_name new_poolname 

Solaris Administrator Interview Questions 

Question: 30. Is It Possible To Create Zpool Using Files? 

Answer: 

Truly. We can make a zpool utilizing records which are made by utilizing mkfile order. 

Ex: 

# mkfile 64m/test 

# zpool make arenzpool/test 

Question: 31. Do We Need To Update/and so forth/vfstab For Zfs Datasets? 

Answer: 

Of course, we no compelling reason to refresh vfstab for zfs dataset. On the off chance that you set zfs mount point as heritage, at that point you need to refresh it. 

Question: 32. Do We Need To Maintain Any Configuration Files For Zpool? 

Answer: 

No.We no compelling reason to keep up any setup records. As a matter of course all gadget based zpool will be imported and mounted by the mount point esteem. 

VMware Interview Questions 

Question: 33. How To Perform The Zpool Scrub To Check Zpool Integrity? 

Answer: 

use order “zpool clean pool name”. 

Veritas Volume Manager (VVM or VxVM) Interview Questions 

Question: 34. Do We Have To Run Mkfs Command To Create A Zfs On Zfs Datasets? 

Answer: 

No.We no compelling reason to make ZFS record framework utilizing mkfs.XFS will naturally make filesystem and mount moment that you make dataset. It will be naturally mount with dataset name in the event that you didn’t referenced the mount point there. 

Question: 35. How To Create A Zfs Volume? 

Answer: 

The order to make a ZFS volume of 1 GB is : 

# zfs make – V 1g nerd pool/volume 01 

Question: 36. How To Do A Dry Run Before Actually Creating A Zfs Pool? 

Answer: 

We can reproduce a ZFS activity utilizing the – n alternative without really keeping in touch with the plate gadgets. For instance, a dry run of zpool creation is: 

# zpool make – n nerd pool reflect c1t0d0 c1t1d0 

would make ‘nerd pool’ with the accompanying design: 

tank 

reflect 

c1t0d0 

c1t1d0 

Veritas Cluster Server (VCS) Interview Questions 

Question: 37. How To Destroy A Zfs Pool? 

Answer: 

To obliterate a ZFS pool: 

# zpool obliterate nerd pool 

To obliterate a harmed ZFS pool strongly: 

# zpool pulverize – f nerd pool 

Question: 38. How To Resize A Zfs Volume? 

Answer: 

We have to just set the volume size (either higher or lower than the first size) utilizing the volsize property: 

# zfs set volsize=2g post/geekvol 

Question: 39. How To Resize A Zfs Mount-point? 

Answer: 

To resize a ZFS mount point we have to set the booking property: 

# zfs set reservation=10g tank/nerd 

Recall that the standard property doesn’t resize the ZFS mount-point. It limits space that can be devoured by the ZFS record framework, yet doesn’t save it. 

Question: 40. How To List All The Zfs Pools? 

Answer: 

The order to list all the ZFS pools on a framework is: 

# zpool list 

Consistent Volume Manager (Linux) Interview Questions 

Question: 41. How To Add A Zfs Volume As A Swap? 

Answer: 

First make a ZFS volume (size – 1 GB) and the include it as a trade: 

# zfs make – V 1g rpool/swapvol 

# trade – a/dev/zvol/dsk/rpool/swapvol 

Question: 42. How Would You Create Different Raid Levels In Zfs? Give Examples? 

Answer: 

The following are barely any instances of making distinctive RAID level ZFS pools. 

Utilizing Whole plates 

# zpool make nerd pool c1t1d0 

Utilizing plate cuts 

# zpool make nerd pool c1t1d0s0 

Utilizing Files 

# mkfile 100m file1 

# zpool make nerd pool/file1 

Utilizing Dynamic striping 

# zpool make nerd pool c1t1d0 c1t2d0 

Reflected ZFS pool 

# zpool make nerd pool reflect c1t1d0 c1t2d0 

3 way reflect 

# zpool make nerd pool reflect c1t1d0 c1t2d0 c1t3d0 

raidz1 

# zpool make nerd pool raidz c1t1d0 c1t2d0 c1t3d0 

raidz2 

# zpool make nerd pool raidz2 c1t1d0 c1t2d0 c1t3d0 

raidz3 

# zpool make nerd pool raidz3 c1t1d0 c1t2d0 c1t3d0 c1t4d0 

Red Hat group Interview Questions 

Question: 43. What Is The Difference Between Quota And Reservation? 

Answer: 

Standard restricts the measure of room a dataset and every one of its youngsters can devour. 

At the point when you set an amount on parent dataset all the kid dataset acquire it from the parent. Be that as it may, you can set an alternate share on the youngsters in the event that you need. 

In the event that you set the share on kid dataset, it won’t influence the quantity of the parent dataset. 

Portions can’t be determined to ZFS volumes as the volsize property goes about as a verifiable amount. 

Reservation sets the base measure of room that is ensured to a dataset and all its kid datasets. 

Like share, when you set reservation on a parent dataset, all the kid dataset acquire it from the parent. 

Setting reservation on youngster dataset, doesn’t influence the booking of the parent. 

Reservation can’t be determined to ZFS volumes. 

Model: Consider a ZFS pool (information pool) of size 10 GB. Setting a booking of 5 GB on zfs document framework fs1 will save 5 GB for fs1 in the pool and no other dataset can utilize that space. Be that as it may, fs1 can utilize in excess of 5 GB if there is space in the pool. 

# zfs set reservation=5g information pool/fs1 

Thus, when we set an amount of 5 GB on fs1, it can’t utilize space in excess of 5 GB from the pool. In any case, it’s not saved for fs1. It implies that some other dataset can utilize a space of 8GB out of 10 GB regardless of whether the standard for fs1 is 5GB. 

# zfs set quota=5g information pool/fs1 

Setting both the properties on the dataset makes fs1 to utilize just 5 GB from the pool and no other dataset can utilize this 5 GB saved for fs1.

Leave a Reply

Your email address will not be published. Required fields are marked *