Skip to content

Commit 80eeee1

Browse files
committed
Changes regarding inactive volume group names
1 parent da5c817 commit 80eeee1

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

articles/backup/backup-azure-restore-files-from-vm.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,14 +136,23 @@ To list all logical volumes, names, and their paths in a volume group:
136136

137137
```bash
138138
#!/bin/bash
139-
lvdisplay <volume-group-name from the pvs command's results>
139+
lvdisplay <volume-group-name from the pvs commands results>
140140
```
141141

142+
The ```lvdisplay``` command also shows whether the volume groups are active are not. If the volume group is marked as inactive, it needs to be activated again to be mounted. If volume-group is shown as inactive, use the following command to activate it.
143+
144+
```bash
145+
#!/bin/bash
146+
vgchange –a y <volume-group-name from the pvs commands results>
147+
```
148+
149+
After the volume group name is active, run the ```lvdisplay``` command once more to see all the relevant attributes.
150+
142151
To mount the logical volumes to the path of your choice:
143152

144153
```bash
145154
#!/bin/bash
146-
mount <LV path> </mountpath>
155+
mount <LV path from the lvdisplay cmd results> </mountpath>
147156
```
148157

149158
#### For RAID arrays

0 commit comments

Comments
 (0)