Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Why are the contents of my hard disk 2 and cache disk the same

Featured Replies

我的硬盘2和缓存盘都是256G NVME固态驱动器,分别插入主板的2个nvme插槽中。

我想使用其中一个作为缓存阵列的硬盘,另一个作为普通阵列硬盘,但是设置后,我的两个硬盘的内容完全相同,并且在阵列硬盘2中创建的文件夹将自动出现在缓存磁盘中。

image.thumb.png.ce7017c38fe6413ff039361c070c6d50.png

其内容如下

磁盘2:image.png.1f4eaabb5a5e89ac957987f948de1142.png现金:image.png.5202ba4d850cca3a21e6f0ccbf67fe12.png

Solved by JorgeB

unraid~共享,打开这些内容相同的文件夹,缓存设置一下模式。

  • Author
1 hour ago, lyqalex said:

unraid~共享,打开这些内容相同的文件夹,缓存设置一下模式。

我只设置了这几个文件夹是cash里面的,但是我在disk2中创建新的文件夹后咋cash里面页游公益而一样的文件夹

 

image.thumb.png.b7748ad519b87906f65413f09c039e10.png

Hope you don't mind english, the above suggests both devices are in the same pool, you can confirm by posting the output of:

 

btrfs fi usage -T /mnt/disk2

 

  • Author
8 minutes ago, JorgeB said:

Hope you don't mind english, the above suggests both devices are in the same pool, you can confirm by posting the output of:

 

btrfs fi usage -T /mnt/disk2

 

谢谢,我输入命令之后,显示如下的内容,我需要怎么设置才能让disk2作为阵列而不是缓存呢

image.png.8f4e238afb9b586efcf594f7617720ee.png

Yes, like suspected both devices are in the same pool, we can delete one device form the pool, in the end do you want that data to be in disk2 or cache?


 

 

  • Author

我希望数据位于disk2中,请问我需要怎么操作呢

  • Solution

-stop array

-unassign the cache device

-start array

-in the console type:

btrfs balance start -f -dconvert=single -mconvert=single /mnt/disk2

-once that finishes type:

btrfs dev del /dev/nvme0n1p1 /mnt/disk2

-once that's done stop the array

-re-assign the cache device

-start array, cache will be unmountable, format to start using it.

  • Author
20 minutes ago, JorgeB said:

-stop array

-unassign the cache device

-start array

-in the console type:

btrfs balance start -f -dconvert=single -mconvert=single /mnt/disk2

-once that finishes type:

btrfs dev del /dev/nvme0n1p1 /mnt/disk2

-once that's done stop the array

-re-assign the cache device

-start array, cache will be unmountable, format to start using it.

非常感谢。我一会尝试一下

我估计是你以前是把这两个固态ssd放在同一个btrfs池中,他们连结为raid。而现在你把他们简单分开放到两个地方,所以出现这个问题。

先把固态必须保留的文件拷贝到其他磁盘留存,然后按照JorgeB的尝试,或者直接进行格式两个固态,然后再分配到阵列和cache池。

  • Author
8 hours ago, lyqalex said:

我估计是你以前是把这两个固态ssd放在同一个btrfs池中,他们连结为raid。而现在你把他们简单分开放到两个地方,所以出现这个问题。

先把固态必须保留的文件拷贝到其他磁盘留存,然后按照JorgeB的尝试,或者直接进行格式两个固态,然后再分配到阵列和cache池。

谢谢,情况和您说的一样,以前确实是放在缓存池里面

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.