12 May 2020

DellEMC Data Domain - Resolve Disk State "Known"

Disk in "Known" state means that disk is part of filesystem but not all disks which create the filesystem are online.

sysadmin@dd-01# disk show state
Enclosure   Disk
             1  2  3  4  5  6  7  8  9  10 11 12 13 14 15
---------   ----------------------------------------------
1            .  .  .  s
2            K  K  K  K  K  K  K  K  v  K  K  K  K  K  K
3            K  K  K  K  K  K  K  K  K  K  K  K  K  K  v
4            K  K  K  K  K  K  K  K  K  K  K  K  K  K  v
5            K  K  K  K  K  K  K  K  K  K  K  K  K  K  v
---------   ----------------------------------------------

Legend   State             Count
------   ---------------   -----
.        In Use Disks      3
s        Spare Disks       1
v        Available Disks   4
K        Known Disks       56
------   ---------------   -----
Total 64 disks

In Known state you cannot fail/ unfail the disk

sysadmin@dd-01# disk fail 2.1

 

**** Disk 2.1 is not in a valid state: can neither fail nor unfail.


I have not found any procedure to resolve this issue while some disks/ enclosures are missed from filesystem.
In my situation I have to power on all disks shelves, this allowed me to destroy filesyetem.

sysadmin@dd-01# filesys status
The filesystem is disabled and shutdown.

sysadmin@dd-01# filesys destroy
The "filesys destroy" command irrevocably destroys all data in
all the MTrees, including all virtual tapes, archive units and replication contexts.
The 'filesys destroy' operation will take about 10-11 minutes.
File access is disabled during this process.
        Are you sure? (yes|no) [no]: yes

ok, proceeding.

Please enter sysadmin password to confirm 'filesys destroy':

The filesystem is already disabled.
Destroying the filesystem.

The filesystem has been destroyed.

sysadmin@dd-01# filesys status
The filesystem doesn't exist.

Then all disk changed status to "Available". 

sysadmin@dd-01# disk show state
Enclosure   Disk
             1  2  3  4  5  6  7  8  9  10 11 12 13 14 15
---------   ----------------------------------------------
1            .  .  .  s
2            v  v  v  v  v  v  v  v  v  v  v  v  v  v  s
3            v  v  v  v  v  v  v  v  v  v  v  v  v  v  s
4            v  v  v  v  v  v  v  v  v  v  v  v  v  v  s
5            v  v  v  v  v  v  v  v  v  v  v  v  v  s  v
6            v  v  v  v  v  v  v  v  v  v  v  v  v  v  s
7            v  v  v  v  v  v  v  v  v  v  v  v  v  v  s
8            v  v  v  v  v  v  v  v  v  v  v  v  v  v  s
9            v  v  v  v  v  v  v  v  v  v  v  v  s  v  v
10           v  v  v  v  v  v  v  v  v  v  v  v  v  v  s
11           v  v  v  v  v  v  v  v  v  v  v  v  v  v  s
12           v  v  v  v  v  v  v  v  v  v  v  v  v  v  s
---------   ----------------------------------------------

Legend   State             Count
------   ---------------   -----
.        In Use Disks      3
s        Spare Disks       12
v        Available Disks   154
------   ---------------   -----
Total 169 disks


At this point I was able to remove unwanted disk shelves and create new, smaller filesystem.

sysadmin@dd-01# disk show state
Enclosure   Disk
             1  2  3  4  5  6  7  8  9  10 11 12 13 14 15
---------   ----------------------------------------------
1            .  .  .  s
2            v  v  v  v  v  v  v  v  v  v  v  v  v  v  v
3            v  v  v  v  v  v  v  v  v  v  v  v  v  v  v
4            v  v  v  v  v  v  v  v  v  v  v  v  v  v  v
5            v  v  v  v  v  v  v  v  v  v  v  v  v  v  v
---------   ----------------------------------------------

Legend   State             Count
------   ---------------   -----
.        In Use Disks      3
s        Spare Disks       1
v        Available Disks   60
------   ---------------   -----
Total 64 disks


sysadmin@dd-01# filesys create
A filesystem of approximate size 129.97 TiB will be created.
        Do you want to continue? (yes|no) [yes]: yes

ok, continuing.

This will take 5 - 10 minutes.

Provisioning storage...
########################################### [100%]

Initializing filesystem...
########################################### [100%]

snapshot schedules deleted

You now have a freshly initialized filesystem.
 Enable the filesystem using 'filesys enable'.

sysadmin@dd-01# filesys enable
Please wait.....................
The filesystem is now enabled.

sysadmin@dd-01# filesys show space

Active Tier:
Resource           Size GiB   Used GiB   Avail GiB   Use%   Cleanable GiB
----------------   --------   --------   ---------   ----   -------------
/data: pre-comp           -        0.0           -      -               -
/data: post-comp   129175.9        0.0    129175.9     0%             0.0
/ddvar                308.1       20.3       272.1     7%               -
----------------   --------   --------   ---------   ----   -------------

No comments:

Post a Comment

Popular