Solved

Zfs nexenta: howto create log/cache

Posted on 2013-01-01
6
892 Views
Last Modified: 2013-01-02
Please advise howto create cache/logdeive. When I try to create a mirrored volume for log, it says that I have to create a volume first ...?

The error exactly:

Cannot create volume only with log or spare disks: Please add disks to pool This configuration will be used to create volume.

log
0
Comment
Question by:janhoedt
  • 3
  • 3
6 Comments
 
LVL 118
ID: 38735069
did you install Napp-it?

do you have spare disks, to add as log (ZIL) or cache (ARC) ?

to add cache (arc)

zpool add tank cache c4t2d0
zpool add tank cache c4t3d0

where tank is the pool name, and c4t2d0 and c4t3d0 are disks, cache cannot be mirrored.

to add log (zil)

zpool add newpool log mirror c0t6d0 c0t7d0

where newpool is the pool, and c0t6d0 c0t7d0 are disks
0
 

Author Comment

by:janhoedt
ID: 38735972
Thanks, but I really like the gui to configure, helps me to understand zfs concepts. Does screenshot above help to clarify my problem?
It says to add disks to pool, but when I add disks to pool, I don t see option to make log or cache disks.
0
 
LVL 118
ID: 38736091
you have to add logs and cache to a pool.
0
Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

 

Author Comment

by:janhoedt
ID: 38736133
Both to same pool?
0
 
LVL 118

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE) earned 500 total points
ID: 38736140
yes, both ZIL (log) and ARC (cache) are allocated to a pool.

if you open a console, using Nexenta GUI and type zpool status, you will see the status and disks added to your pool.

did you not add log and cache disks at creation?
0
 

Author Comment

by:janhoedt
ID: 38736270
Ok, found it: you need to "grow" the existing volume (for me the zraid on SATA disks), then you can choose disks for log and cache.
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

HOW TO: Install and Configure VMware vSphere Hypervisor 6.5 (ESXi 6.5), Step by Step Tutorial with screenshots. From Download, Checking Media, to Completed Installation.
In this article, I will show you HOW TO: Perform a Physical to Virtual (P2V) Conversion the easy way from a computer backup (image).
Teach the user how to install vSphere Update Manager  Console to Windows system:  Install vSphere Update Manager: Configure vSphere Update Manager plug-in in vSphere Client: Verify vSphere Update Manager settings in vSphere Client:
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now