I added a disk to a zpool using "zpool add diskname"
My intention was mirror a zpool disk that no mirror; that is a zpool with only one disk. I did not issue the right command. Now, the disk has been added successfully but I cannot remove nor detach it as Solaris 11 thinks it has data on it (it does not).
How do I remove this disk out of the zpool and re-add it as a mirror? Thank you for your time.
Error: ---------- Post updated at 12:11 PM ---------- Previous update was at 12:08 PM ----------
The disk in question is in DEGRADED status right now but the zpool itself is online. I would like to remove and re-add the one in DEGRADED status.
I had a pool which was exported and due to some issues on my SAN i was never able to import it again. Can anyone tell me how can i destroy the exported pool to free up the LUN. I tried to create a new pool on the same pool but it gives me following error
# zpool create emcpool4 emcpower0c... (0 Replies)
Hi Everyone,
I have added new Virtual disk to OS. The main point is I need to bring this whole Disk into LVM control, is it necessary to partition the disk using fdisk command and assign partition type as '8e', or can I directly add that disk into LVM, by running pvcreate command with out... (2 Replies)
Hi
I have one of the disk missing in my NIMVG. My doubt is can I remove this hdisk2 online ? few of the file systems seems to be spread over 7 PV's. that's why i'm worried. Can someone suggest if I can replace this disk online. Also how to check if there is some data present in hdisk2 alone... (2 Replies)
Hi ,
One of my zone went down and when i booted it up i could see the pool in degraded state with some check sum errors . we have brought the pool online after scrubbing. But few files are showing this error
Bad exchange descriptor
Please let me know how to remove these files (2 Replies)
Hi,
Quick question.
I have a data zpool that consists of 1 disk.
pool: data
state: ONLINE
scrub: none requested
config:
NAME STATE READ WRITE CKSUM
data ONLINE 0 0 0
c0t50002AC0014B06BEd0 ONLINE... (2 Replies)
Dear All,
I created a new partition through "Integrated Virtualization Manager" but there have an error when I added a new disk to the partition. The disk already created without any issue,
Below error is to add the disk to the partition
An error occured while modifying the assignments... (5 Replies)
Hello,
I need some help in recovering ZFS pool. Here is scenerio. There are two disks -
c0t0d0 - This is good disk. I cloned it from other server and boot server from this disk.
c0t1d0 - This is original disk of this server, having errors. I am able to mount it on /mnt. So that I can copy... (1 Reply)
issue,
I had a zpool which was full
pool_temp1 199G 197G 1.56G 99% ONLINE -
pool_temp2 199G 196G 3.09G 98% ONLINE -
as you can see, full
so I replaced with a larger disk.
zpool replace pool_temp1 c3t600144F0FF8BA036000058CC1DB80008d0s0... (2 Replies)
On an OmniOS server, I removed a single-disk pool I was using for testing.
Now, when I run zpool import it will show it as FAULTED, since that single disk not available anymore.
# zpool import
pool: fido
id: 7452075738474086658
state: FAULTED
status: The pool was last... (11 Replies)
Discussion started by: priyadarshan
11 Replies
LEARN ABOUT OSX
fsck_cs
FSCK_CS(8) BSD System Manager's Manual FSCK_CS(8)NAME
fsck_cs -- verify and repair CoreStorage logical volume groups
SYNOPSIS
fsck_cs -q device ...
fsck_cs -p device ...
fsck_cs [-y | -n] [-x | -g] [-l logfile] device ...
DESCRIPTION
The fsck_cs utility verifies and repairs CoreStorage logical volume group metadata.
The device parameter(s) should be path(s) to the "raw" (character special) disk device(s) such as /dev/rdisk1s1 that constitute the CoreStor-
age logical volume group. If you specify a "non-raw" (block special) path such as /dev/disk1s1, or just the disk name such as disk1s1, it
will automatically be converted to the corresponding raw disk device (/dev/rdisk1s1).
The options are as follows:
-q Performs a "quick" check and indicates if any corruptions were found via the exit status. In this mode stale MLV segments
are not checked, nor is proactive MLV mirror scrubbing performed.
-p Operates in "preen" mode. MLV mirror blocks are repaired where necessary. Newer transactions may be invalidated to force
a roll-back to an older, but consistent, filesystem state.
-y Causes fsck_cs to assume "yes" as the answer to all questions. In other words, always attempt to repair any errors that
are found.
-n Causes fsck_cs to assume "no" as the answer to all questions. In other words, never attempt to repair any errors that are
found.
-x Causes fsck_cs to produce its output in an XML-like (plist) format. This option is used when another application with a
graphical user interface (like Mac OS X Disk Utility) is invoking the fsck_cs tool and processing the output.
-g Causes fsck_cs to produce its output in GUI-compatible form. This is similar in usage to the -x option.
-l logfile Reproduce all console output, as well as additional status and error messages, to the specified file.
Alternatively device can be specified as the UUID of the CoreStorage logical volume group or as the name of a CoreStorage-hosted logical vol-
ume within that group, causing fsck_cs to derive the constituent raw device(s) from the IORegistry. In these cases you must indicate what
object is being supplied to identify the logical volume group:
--pv the component CoreStorage physical volume(s) directly
--uuid the CoreStorage logical volume group (as a UUID)
--lv a CoreStorage logical volume (as a device name)
DIAGNOSTICS
The fsck_cs utility exits with 0 if no corruption was detected or if all corruptions were repaired, and with >0 if any unrepaired corruption
remains.
BUGS
fsck_cs does not perform an exhaustive validation, nor is it able to fix many of the inconsistencies that it does detect.
HISTORY
The fsck_cs utility first appeared along with CoreStorage in Mac OS X 10.7.0.
Darwin July 22, 2011 Darwin