how to remove the log disk?

3038922

New Member
Feb 8, 2022
3
0
1
39
I used a virtual disk to mount the log disk But it will not automatically mount after the reboot.
So I used `zpool import -m pve1zfs2`command.
Because the problem of automatically attaching the virtual log disk cannot be solved, I decided not to use the log disk But he can't delete it now
This is how I added the log disk before
```
dd if=/dev/zero of=diskzfslog.img bs=4M count=25600
losetup /dev/loop7 ./diskzfslog.img
zpool add pve1Zfs2 log /dev/loop7
echo 180 | sudo tee /sys/module/zfs/parameters/zfs_txg_timeout
```

```
⚡ root@pve1  ~  zpool iostat -v
capacity operations bandwidth
pool alloc free read write read write
-------------------------------------- ----- ----- ----- ----- ----- -----
pve1Zfs2 4.83T 67.9T 58 3 416K 38.6K
raidz2-0 4.83T 67.9T 58 3 416K 38.6K
ata-WDC_WD102EJRX-89YN0Y0_VCG4HX4N - - 7 0 52.2K 4.80K
ata-WDC_WD102EJRX-89YN0Y0_VCG4HSYN - - 7 0 51.9K 4.78K
ata-WDC_WUS721010ALE6L4_VCHGEY0P - - 7 0 52.3K 4.90K
ata-WDC_WUS721010ALE6L4_VCHGAGDP - - 7 0 52.5K 4.83K
ata-WDC_WUS721010ALE6L4_VCHG86WP - - 7 0 51.8K 4.83K
ata-WDC_WD102EJRX-89YN0Y0_VCG4J2NN - - 7 0 51.5K 4.81K
ata-WDC_WUS721010ALE6L4_VCHG9YEP - - 7 0 52.2K 4.81K
ata-WDC_WUS721010ALE6L4_VCHDJL2P - - 7 0 52.0K 4.86K
logs - - - - - -
6151785993286400868 68K 99.5G 0 0 0 0
```
```
⚡ root@pve1  ~  zpool remove pve1Zfs2 loop7
cannot remove loop7: checkpoint exists
```
```
⚡ root@pve1  ~  zpool remove pve1Zfs2 6151785993286400868
cannot remove 6151785993286400868: checkpoint exists
```
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!