Solved

Zfs nexenta: howto create log/cache

Posted on 2013-01-01
6
902 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 119
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 119
ID: 38736091
you have to add logs and cache to a pool.
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 

Author Comment

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

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) 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

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Last article we focus in how to VMware: How to create and use VMs TAGs – Part 1 so before follow this article and perform the next tasks, you should read the first article how to create the TAG before using them in Veeam Backup Jobs.
HOW TO: Upload an ISO image to a VMware datastore for use with VMware vSphere Hypervisor 6.5 (ESXi 6.5) using the vSphere Host Client, and checking its MD5 checksum signature is correct.  It's a good idea to compare checksums, because many installat…
Advanced tutorial on how to run the esxtop command to capture a batch file in csv format in order to export the file and use it for performance analysis. He demonstrates how to download the file using a vSphere web client (or vSphere client) and exp…
This Micro Tutorial steps you through the configuration steps to configure your ESXi host Management Network settings and test the management network, ensure the host is recognized by the DNS Server, configure a new password, and the troubleshooting…

825 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