GET https://kbin.spritesserver.nl/u/@bitduck@lemmy.ml/commented

Components

21 Twig Components
45 Render Count
199 ms Render Time
12.0 MiB Memory Usage

Components

Name Metadata Render Count Render Time
settings_row_switch
"App\Twig\Components\SettingsRowSwitchComponent"
components/_settings_row_switch.html.twig
15 2.82ms
user_settings_row_switch
"App\Twig\Components\UserSettingsRowSwitchComponent"
components/_user_settings_row_switch.html.twig
4 0.94ms
date
"App\Twig\Components\DateComponent"
components/date.html.twig
3 1.01ms
user_inline
"App\Twig\Components\UserInlineComponent"
components/user_inline.html.twig
2 1.08ms
date_edited
"App\Twig\Components\DateEditedComponent"
components/date_edited.html.twig
2 0.41ms
vote
"App\Twig\Components\VoteComponent"
components/vote.html.twig
2 1.25ms
boost
"App\Twig\Components\BoostComponent"
components/boost.html.twig
2 3.17ms
settings_row_enum
"App\Twig\Components\SettingsRowEnumComponent"
components/_settings_row_enum.html.twig
2 0.68ms
user_box
"App\Twig\Components\UserBoxComponent"
components/user_box.html.twig
1 1.47ms
user_actions
"App\Twig\Components\UserActionsComponent"
components/user_actions.html.twig
1 0.88ms
entry
"App\Twig\Components\EntryComponent"
components/_cached.html.twig
1 25.27ms
magazine_inline
"App\Twig\Components\MagazineInlineComponent"
components/magazine_inline.html.twig
1 2.36ms
entry_comment
"App\Twig\Components\EntryCommentComponent"
components/entry_comment.html.twig
1 9.86ms
user_avatar
"App\Twig\Components\UserAvatarComponent"
components/user_avatar.html.twig
1 0.30ms
related_magazines
"App\Twig\Components\RelatedMagazinesComponent"
components/_cached.html.twig
1 11.39ms
active_users
"App\Twig\Components\ActiveUsersComponent"
components/_cached.html.twig
1 97.50ms
related_categories
"App\Twig\Components\RelatedCategoriesComponent"
components/_cached.html.twig
1 6.07ms
related_posts
"App\Twig\Components\RelatedPostsComponent"
components/_cached.html.twig
1 8.70ms
related_entries
"App\Twig\Components\RelatedEntriesComponent"
components/_cached.html.twig
1 12.15ms
support_us_block
"App\Twig\Components\SupportUsBlock"
components/_cached.html.twig
1 9.53ms
featured_magazines
"App\Twig\Components\FeaturedMagazinesComponent"
components/_cached.html.twig
1 12.58ms

Render calls

user_box App\Twig\Components\UserBoxComponent 12.0 MiB 1.47 ms
Input props
[
  "user" => App\Entity\User {#265
    +avatar: null
    +cover: null
    +email: "bitduck@lemmy.ml"
    +username: "@bitduck@lemmy.ml"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1700395689 {#275
      date: 2023-11-19 13:08:09.0 +01:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#253 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#249 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#238 …}
    +entries: Doctrine\ORM\PersistentCollection {#196 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#168 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#141 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#111 …}
    +posts: Doctrine\ORM\PersistentCollection {#84 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#99 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1863 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1479 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1658 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1868 …}
    +follows: Doctrine\ORM\PersistentCollection {#1917 …}
    +followers: Doctrine\ORM\PersistentCollection {#1601 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1805 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1810 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1857 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1860 …}
    +reports: Doctrine\ORM\PersistentCollection {#1791 …}
    +favourites: Doctrine\ORM\PersistentCollection {#2416 …}
    +violations: Doctrine\ORM\PersistentCollection {#1824 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1914 …}
    +awards: Doctrine\ORM\PersistentCollection {#1929 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1867 …}
    +categories: Doctrine\ORM\PersistentCollection {#1880 …}
    -id: 76975
    -password: "$2y$13$nWTr0Xo0QFv5mDVXtKX71uDGR7vOEEnFx2jZ2jyBp0Q0cMjykForC"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1894 …}
    +apId: "bitduck@lemmy.ml"
    +apProfileId: "https://lemmy.ml/u/bitduck"
    +apPublicUrl: "https://lemmy.ml/u/bitduck"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "bitduck"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1726542633 {#269
      date: 2024-09-17 05:10:33.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1700395689 {#268
      date: 2023-11-19 13:08:09.0 +01:00
    }
  }
  "stretchedLink" => false
]
Attributes
[]
Component
App\Twig\Components\UserBoxComponent {#2379
  +user: App\Entity\User {#265
    +avatar: null
    +cover: null
    +email: "bitduck@lemmy.ml"
    +username: "@bitduck@lemmy.ml"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1700395689 {#275
      date: 2023-11-19 13:08:09.0 +01:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#253 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#249 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#238 …}
    +entries: Doctrine\ORM\PersistentCollection {#196 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#168 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#141 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#111 …}
    +posts: Doctrine\ORM\PersistentCollection {#84 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#99 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1863 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1479 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1658 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1868 …}
    +follows: Doctrine\ORM\PersistentCollection {#1917 …}
    +followers: Doctrine\ORM\PersistentCollection {#1601 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1805 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1810 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1857 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1860 …}
    +reports: Doctrine\ORM\PersistentCollection {#1791 …}
    +favourites: Doctrine\ORM\PersistentCollection {#2416 …}
    +violations: Doctrine\ORM\PersistentCollection {#1824 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1914 …}
    +awards: Doctrine\ORM\PersistentCollection {#1929 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1867 …}
    +categories: Doctrine\ORM\PersistentCollection {#1880 …}
    -id: 76975
    -password: "$2y$13$nWTr0Xo0QFv5mDVXtKX71uDGR7vOEEnFx2jZ2jyBp0Q0cMjykForC"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1894 …}
    +apId: "bitduck@lemmy.ml"
    +apProfileId: "https://lemmy.ml/u/bitduck"
    +apPublicUrl: "https://lemmy.ml/u/bitduck"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "bitduck"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1726542633 {#269
      date: 2024-09-17 05:10:33.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1700395689 {#268
      date: 2023-11-19 13:08:09.0 +01:00
    }
  }
  +stretchedLink: false
}
user_actions App\Twig\Components\UserActionsComponent 12.0 MiB 0.88 ms
Input props
[
  "user" => App\Entity\User {#265
    +avatar: null
    +cover: null
    +email: "bitduck@lemmy.ml"
    +username: "@bitduck@lemmy.ml"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1700395689 {#275
      date: 2023-11-19 13:08:09.0 +01:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#253 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#249 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#238 …}
    +entries: Doctrine\ORM\PersistentCollection {#196 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#168 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#141 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#111 …}
    +posts: Doctrine\ORM\PersistentCollection {#84 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#99 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1863 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1479 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1658 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1868 …}
    +follows: Doctrine\ORM\PersistentCollection {#1917 …}
    +followers: Doctrine\ORM\PersistentCollection {#1601 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1805 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1810 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1857 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1860 …}
    +reports: Doctrine\ORM\PersistentCollection {#1791 …}
    +favourites: Doctrine\ORM\PersistentCollection {#2416 …}
    +violations: Doctrine\ORM\PersistentCollection {#1824 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1914 …}
    +awards: Doctrine\ORM\PersistentCollection {#1929 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1867 …}
    +categories: Doctrine\ORM\PersistentCollection {#1880 …}
    -id: 76975
    -password: "$2y$13$nWTr0Xo0QFv5mDVXtKX71uDGR7vOEEnFx2jZ2jyBp0Q0cMjykForC"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1894 …}
    +apId: "bitduck@lemmy.ml"
    +apProfileId: "https://lemmy.ml/u/bitduck"
    +apPublicUrl: "https://lemmy.ml/u/bitduck"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "bitduck"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1726542633 {#269
      date: 2024-09-17 05:10:33.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1700395689 {#268
      date: 2023-11-19 13:08:09.0 +01:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\UserActionsComponent {#2117
  +user: App\Entity\User {#265
    +avatar: null
    +cover: null
    +email: "bitduck@lemmy.ml"
    +username: "@bitduck@lemmy.ml"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1700395689 {#275
      date: 2023-11-19 13:08:09.0 +01:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#253 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#249 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#238 …}
    +entries: Doctrine\ORM\PersistentCollection {#196 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#168 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#141 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#111 …}
    +posts: Doctrine\ORM\PersistentCollection {#84 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#99 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1863 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1479 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1658 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1868 …}
    +follows: Doctrine\ORM\PersistentCollection {#1917 …}
    +followers: Doctrine\ORM\PersistentCollection {#1601 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1805 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1810 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1857 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1860 …}
    +reports: Doctrine\ORM\PersistentCollection {#1791 …}
    +favourites: Doctrine\ORM\PersistentCollection {#2416 …}
    +violations: Doctrine\ORM\PersistentCollection {#1824 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1914 …}
    +awards: Doctrine\ORM\PersistentCollection {#1929 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1867 …}
    +categories: Doctrine\ORM\PersistentCollection {#1880 …}
    -id: 76975
    -password: "$2y$13$nWTr0Xo0QFv5mDVXtKX71uDGR7vOEEnFx2jZ2jyBp0Q0cMjykForC"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1894 …}
    +apId: "bitduck@lemmy.ml"
    +apProfileId: "https://lemmy.ml/u/bitduck"
    +apPublicUrl: "https://lemmy.ml/u/bitduck"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "bitduck"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1726542633 {#269
      date: 2024-09-17 05:10:33.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1700395689 {#268
      date: 2023-11-19 13:08:09.0 +01:00
    }
  }
}
entry App\Twig\Components\EntryComponent 12.0 MiB 25.27 ms
Input props
[
  "entry" => Proxies\__CG__\App\Entity\Entry {#1592
    +user: Proxies\__CG__\App\Entity\User {#2458
      +avatar: null
      +cover: null
      +email: "Uluganda@lemmy.ml"
      +username: "@Uluganda@lemmy.ml"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1700365066 {#3317
        date: 2023-11-19 04:37:46.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#3320 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#3322 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#3324 …}
      +entries: Doctrine\ORM\PersistentCollection {#3326 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#3328 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#3330 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3332 …}
      +posts: Doctrine\ORM\PersistentCollection {#3334 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#3336 …}
      +postComments: Doctrine\ORM\PersistentCollection {#3338 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#3340 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#3342 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#3344 …}
      +follows: Doctrine\ORM\PersistentCollection {#3346 …}
      +followers: Doctrine\ORM\PersistentCollection {#3348 …}
      +blocks: Doctrine\ORM\PersistentCollection {#3350 …}
      +blockers: Doctrine\ORM\PersistentCollection {#3352 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#3354 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#3356 …}
      +reports: Doctrine\ORM\PersistentCollection {#3358 …}
      +favourites: Doctrine\ORM\PersistentCollection {#3360 …}
      +violations: Doctrine\ORM\PersistentCollection {#3362 …}
      +notifications: Doctrine\ORM\PersistentCollection {#3364 …}
      +awards: Doctrine\ORM\PersistentCollection {#3366 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#3368 …}
      +categories: Doctrine\ORM\PersistentCollection {#3370 …}
      -id: 9933
      -password: "$2y$13$Cd0jic67tC6T7tuaqa7iWewkFHt3J3XyusH8Bh.FZvcZOPIwsBfA6"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#3372 …}
      +apId: "Uluganda@lemmy.ml"
      +apProfileId: "https://lemmy.ml/u/Uluganda"
      +apPublicUrl: "https://lemmy.ml/u/Uluganda"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "Uluganda"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1707245788 {#3318
        date: 2024-02-06 19:56:28.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687567147 {#3319
        date: 2023-06-24 02:39:07.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +magazine: Proxies\__CG__\App\Entity\Magazine {#1579
      +icon: Proxies\__CG__\App\Entity\Image {#2847 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#2826
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#2846 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#2844 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#2849 …}
      +entries: Doctrine\ORM\PersistentCollection {#2850 …}
      +posts: Doctrine\ORM\PersistentCollection {#2853 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#2855 …}
      +bans: Doctrine\ORM\PersistentCollection {#2861 …}
      +reports: Doctrine\ORM\PersistentCollection {#2869 …}
      +badges: Doctrine\ORM\PersistentCollection {#2882 …}
      +logs: Doctrine\ORM\PersistentCollection {#2892 …}
      +awards: Doctrine\ORM\PersistentCollection {#2874 …}
      +categories: Doctrine\ORM\PersistentCollection {#2898 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#2827
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#2828
        date: 2023-11-02 13:51:08.0 +01:00
      }
      +__isInitialized__: true
       …2
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1732 …}
    +slug: "Bcache-is-amazing-Making-HDD-way-faster"
    +title: "Bcache is amazing!: Making HDD way faster!"
    +url: null
    +body: """
      Okay, I love Linux. But I always surprised that I can love Linux ever more everyday. The possibility is basically endless!\n
      \n
      I asked about raid0 last week and got a lot of helpful answers. However, this[ answer ](https://lemmy.ml/comment/5577205)from [d3Xter](https://lemmy.ml/u/d3Xt3r@lemmy.nz) really helped me figures how I actually want to [configure my system](https://lemmy.ml/post/7585833). I decided to buy 2x500GB HDD and 120GB NVME SSD. It’s cheap, very cheap. Like $15 total. If there is anything wrong with them, I lost nothing. But boy did I get surprised. I tested BG3, a game that requires SSD to perform well and I see no difference between my old SSD and my new setup. It loads as fast (well, maybe 10-15s slower, but who cares?), and I do not need to wait for the textures to load, at all. Boot time is amazing. I notice no difference at all between this HDD and my last SSD setup. Which is insane!\n
      \n
      But the installation is confusing as hell. I write this pseudo-guide for anyone intersted.\n
      \n
      FIRST: DO NOT STORE ANY DATA IN THIS SETUP FOR ANYTHING REMOTE TO IMPORTANT!\n
      \n
      I favor performance for the cheapest possible above all else. Unless you want to buy 4 HDD to get raid10, do not store anything other than games and your apps on it. Do not use raid5 in this setup, [it sucks.](https://www.phoronix.com/news/Btrfs-RAID-56-Is-Bad)\n
      \n
      Second: Get yourself an Arch live USB stick with at least 8GB (4 might works, but smallest one I have is 8GB). I think you can use it on other distro, but Arch is the easiest if you want to install IT on the bcache drive. And make sure you booted into UEFI by typing:\n
      \n
      `ls /sys/firmware/efi/efivars/`\n
      \n
      Third: Installing bcache. After you have internet on your live system, remount your live iso so we can use the AUR.\n
      \n
      `mount -o remount,size=8G /run/archiso/cowspace`\n
      \n
      Then, install base-devel and git\n
      \n
      `pacman -S base-devel git --ignore linux`\n
      \n
      If you have slow internet, you can go to 2nd tty by pressing ctrl + alt + f2 and login as root there to do the next step, otherwise wait for the process to finish. We need to setup a user since makepkg wont run on root. So, type:\n
      \n
      `useradd -m -G wheel user && passwd user` and set your password Then we need the user to able to act as superuser. So, we edit `visudo` and add this line at the bottom: `user ALL=(ALL:ALL)ALL` save it and press ctrl + alt + f3, login as user you just set. Clone the bcache-tools AUR repo: `git clone https://aur.archlinux.org/bcache-tools.git && cd bcache-tools`\n
      \n
      If you want you can inspect the PKGBUILD, but we will proceed to make it, type:\n
      \n
      `makepkg -sri`\n
      \n
      Once it is done, it will throw error about vmliuz is not found, but the package itself is installed, you just need to tell the kernel to load it. We can achieve that by executing:\n
      \n
      `sudo modprobe bcache && sudo partprobe`\n
      \n
      Fouth: Configuring the bcache, btrfs, and raid0 List your drive with `lsblk` identify your HDD and your SSD. Let’s say in this instance, we have /dev/sda and /dev/sdb as our HDD and /dev/nvme0n1 as our SSD. I use cfdisk to partition my drive, but you can use whatever you want. I make one partition for both HDD, sda1 and sdb1, and make 3 partitions for my SSD. DO NOT FORMATI IT YET. /dev/sda1 : 500 GB HDD with 500GB partition /dev/sdb1 : same as before /dev/nvme0n1p1 : 118G SSD partition as the cache /dev/nvme0n1p2 : 1G partition as /boot. Even if you have one kernel, do not make a /boot partition less than 1G. I knew it in hard way. /dev/nvme0n1p3 : 200M partition as /boot/efi. Same as before, better safe than sorry. YOU NEED TO HAVE SEPARATE BOOT AND EFI PARTITION, OTHERWISE YOU WILL HAVE AN UNBOOTABLE SYSTEM!\n
      \n
      Okay, now we configure our raid.\n
      \n
      `make-bcache -B /dev/sda1 /dev/sdb1`\n
      \n
      This command will make a partition (?) called bcache0 and bcache1 under both /dev/sdb and /dev/sda if you use\n
      \n
      `lsblk`\n
      \n
      Now, we make raid out of those two.\n
      \n
      `mkfs.btrfs -L ARCHACHED -d raid0 /dev/bcache0 /dev/bcache1`\n
      \n
      Then the cache.\n
      \n
      `make-bcache -C /dev/nvme0n1p1`\n
      \n
      We can register the cache for our raid setup by its cset.uuid. To know what is the uuid, we can use this command.\n
      \n
      `bcache-super-show /dev/nvme0n1p1 |grep cset.uuid`\n
      \n
      Example of the output is:\n
      \n
      `cset.uuid fc3aac3b-9663-4067-88af-c5066a6c661b`\n
      \n
      From that, we can register it by using this command:\n
      \n
      `echo fc3aac3b-9663-4067-88af-c5066a6c661b > /sys/block/bcache0/bcache/attach`\n
      \n
      `echo fc3aac3b-9663-4067-88af-c5066a6c661b > /sys/block/bcache1/bcache/attach`\n
      \n
      Done! If you `lsblk` now, you can see that there is bcache0 and bcache1 under the nvme0n1p1 partition.\n
      \n
      Now, we can configure our boot partition.\n
      \n
      `mkfs.ext4 /dev/nvme0n1p2` (Remember, this is the 1G partition)\n
      \n
      `mkfs.vfat -F 32 /dev/nvme0n1p3` (Remember, this is the 200M partition)\n
      \n
      We can then mount all of those drive to install Arch.\n
      \n
      `mount /dev/bcache0 /mnt`\n
      \n
      `btrfs subvolume create /mnt/root`\n
      \n
      `btrfs subvolume create /mnt/var` (optional)\n
      \n
      `btrfs subvolume create /mnt/home` (optional)\n
      \n
      `umount /mnt`\n
      \n
      `mount /dev/bcache0 -o subvol=root,compress=lzo /mnt/`\n
      \n
      `mount --mkdir /dev/bcache0 -o subvol=home,compress=lzo /mnt/home`\n
      \n
      `mount --mkdir /dev/bcache0 -o subvol=var,compress=lzo /mnt/var`\n
      \n
      `mount --mkdir /dev/nvme0n1p2 /mnt/boot`\n
      \n
      `mount --mkdir /dev/nvme0n1p3 /mnt/boot/efi`\n
      \n
      Fifth: Install Arch Follow arch wiki, lol.\n
      \n
      Last: bcache-tools, mkinitcpio, and grub. Go back to tty3, the user one. And copy the bcache-tools package to your newly installed /mnt\n
      \n
      `sudo cp bcache-tools-1.1-1-x86_64.pkg.tar.zst /mnt`\n
      \n
      Then go back tty1 and install it on you arch-chroot.\n
      \n
      `pacman -U bcache-tools-1.1-1-x86_64.pkg.tar.zst`\n
      \n
      Now, we configure the mkinitcpio. Edit your mkinitcpio by using you editor of choice. And add bcache in in MODULES so it looks like this:\n
      \n
      `MODULES=(bcache)`\n
      \n
      And in HOOKS, add it after block and before filesystem. Example:\n
      \n
      `HOOKS=(base udev block bcache flesystem)`\n
      \n
      Make your initcpio by executing this command:\n
      \n
      `mkinitcpio -p linux`\n
      \n
      Grub is the last. Install it as usual. Just make sure you did the partition right, as mentioned before.\n
      \n
      That’s it. You just install Arch Linux on a bcache system. It’s complicated, and headache inducing for sure, but I assure you it is totally worth that pain.\n
      \n
      Note: If you have problem after you reboot, and want to arch-chroot, you need to install bcache-tools again. If you want to reformat anything and it shows the device as busy after you did the `partprobe`, you need to tell the kernel to stop any activity to the drive. In this example the sda is the one you want to edit.\n
      \n
      `echo 1 > /sys/block/sda/sda1/bcache/stop`\n
      \n
      Now, if you accidentally execute the command, you can use `partprobe` again to show it up.\n
      \n
      Reference: [wiki.archlinux.org/title/bcache](https://wiki.archlinux.org/title/bcache)[wiki.archlinux.org/title/btrfs](https://wiki.archlinux.org/title/btrfs)[gist.github.com/…/4c1492f537d9785e19406eb5cd99173…](https://gist.github.com/HardenedArray/4c1492f537d9785e19406eb5cd991735)[…kernel.org/…/Using_Btrfs_with_Multiple_Devices.h…](https://archive.kernel.org/oldwiki/btrfs.wiki.kernel.org/index.php/Using_Btrfs_with_Multiple_Devices.html)
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 22
    +favouriteCount: 131
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1700152658 {#1526
      date: 2023-11-16 17:37:38.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1727 …}
    +votes: Doctrine\ORM\PersistentCollection {#1733 …}
    +reports: Doctrine\ORM\PersistentCollection {#1719 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1691 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1711 …}
    +badges: Doctrine\ORM\PersistentCollection {#1621 …}
    +children: [
      App\Entity\EntryComment {#1697
        +user: App\Entity\User {#265
          +avatar: null
          +cover: null
          +email: "bitduck@lemmy.ml"
          +username: "@bitduck@lemmy.ml"
          +roles: []
          +followersCount: 0
          +homepage: "front"
          +about: null
          +lastActive: DateTime @1700395689 {#275
            date: 2023-11-19 13:08:09.0 +01:00
          }
          +markedForDeletionAt: null
          +fields: null
          +oauthGithubId: null
          +oauthGoogleId: null
          +oauthFacebookId: null
          +oauthKeycloakId: null
          +hideAdult: true
          +showSubscribedUsers: true
          +showSubscribedMagazines: true
          +showSubscribedDomains: true
          +preferredLanguages: []
          +featuredMagazines: null
          +showProfileSubscriptions: false
          +showProfileFollowings: true
          +markNewComments: false
          +notifyOnNewEntry: false
          +notifyOnNewEntryReply: true
          +notifyOnNewEntryCommentReply: true
          +notifyOnNewPost: false
          +notifyOnNewPostReply: true
          +notifyOnNewPostCommentReply: true
          +addMentionsEntries: false
          +addMentionsPosts: true
          +isBanned: false
          +isVerified: false
          +isDeleted: false
          +isBot: false
          +spamProtection: true
          +customCss: null
          +ignoreMagazinesCustomCss: false
          +moderatorTokens: Doctrine\ORM\PersistentCollection {#253 …}
          +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#249 …}
          +moderatorRequests: Doctrine\ORM\PersistentCollection {#238 …}
          +entries: Doctrine\ORM\PersistentCollection {#196 …}
          +entryVotes: Doctrine\ORM\PersistentCollection {#168 …}
          +entryComments: Doctrine\ORM\PersistentCollection {#141 …}
          +entryCommentVotes: Doctrine\ORM\PersistentCollection {#111 …}
          +posts: Doctrine\ORM\PersistentCollection {#84 …}
          +postVotes: Doctrine\ORM\PersistentCollection {#99 …}
          +postComments: Doctrine\ORM\PersistentCollection {#1863 …}
          +postCommentVotes: Doctrine\ORM\PersistentCollection {#1479 …}
          +subscriptions: Doctrine\ORM\PersistentCollection {#1658 …}
          +subscribedDomains: Doctrine\ORM\PersistentCollection {#1868 …}
          +follows: Doctrine\ORM\PersistentCollection {#1917 …}
          +followers: Doctrine\ORM\PersistentCollection {#1601 …}
          +blocks: Doctrine\ORM\PersistentCollection {#1805 …}
          +blockers: Doctrine\ORM\PersistentCollection {#1810 …}
          +blockedMagazines: Doctrine\ORM\PersistentCollection {#1857 …}
          +blockedDomains: Doctrine\ORM\PersistentCollection {#1860 …}
          +reports: Doctrine\ORM\PersistentCollection {#1791 …}
          +favourites: Doctrine\ORM\PersistentCollection {#2416 …}
          +violations: Doctrine\ORM\PersistentCollection {#1824 …}
          +notifications: Doctrine\ORM\PersistentCollection {#1914 …}
          +awards: Doctrine\ORM\PersistentCollection {#1929 …}
          +subscribedCategories: Doctrine\ORM\PersistentCollection {#1867 …}
          +categories: Doctrine\ORM\PersistentCollection {#1880 …}
          -id: 76975
          -password: "$2y$13$nWTr0Xo0QFv5mDVXtKX71uDGR7vOEEnFx2jZ2jyBp0Q0cMjykForC"
          -totpSecret: null
          -totpBackupCodes: []
          -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1894 …}
          +apId: "bitduck@lemmy.ml"
          +apProfileId: "https://lemmy.ml/u/bitduck"
          +apPublicUrl: "https://lemmy.ml/u/bitduck"
          +apFollowersUrl: null
          +apInboxUrl: "https://lemmy.ml/inbox"
          +apDomain: "lemmy.ml"
          +apPreferredUsername: "bitduck"
          +apDiscoverable: true
          +apManuallyApprovesFollowers: false
          +privateKey: null
          +publicKey: null
          +apFetchedAt: DateTime @1726542633 {#269
            date: 2024-09-17 05:10:33.0 +02:00
          }
          +apDeletedAt: null
          +apTimeoutAt: null
          +visibility: "visible             "
          +createdAt: DateTimeImmutable @1700395689 {#268
            date: 2023-11-19 13:08:09.0 +01:00
          }
        }
        +entry: Proxies\__CG__\App\Entity\Entry {#1592 …2}
        +magazine: Proxies\__CG__\App\Entity\Magazine {#1579 …2}
        +image: null
        +parent: null
        +root: null
        +body: """
          Thanks for writing this! Getting bcache set up the first time can be confusing, so this certainly helps.\n
          \n
          I’ll just drop one warning in here. With a setup very much like described here I’ve had severe data corruption and loss, so please make sure your data is properly and regularly backed up. To me it seemed like almost any unexpected or untimely power off would cause some data loss or significant corruption.
          """
        +lang: "en"
        +isAdult: false
        +favouriteCount: 6
        +score: 0
        +lastActive: DateTime @1700129102 {#1439
          date: 2023-11-16 11:05:02.0 +01:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@Uluganda@lemmy.ml"
        ]
        +children: Doctrine\ORM\PersistentCollection {#1580 …}
        +nested: Doctrine\ORM\PersistentCollection {#1583 …}
        +votes: Doctrine\ORM\PersistentCollection {#1582 …}
        +reports: Doctrine\ORM\PersistentCollection {#1589 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1572 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1666 …}
        -id: 129669
        -bodyTs: "'almost':60 'back':53 'bcach':6 'caus':68 'certain':17 'confus':14 'corrupt':40,74 'data':39,48,70 'describ':33 'drop':22 'first':10 'get':5 'help':18 'like':32,59 'll':20 'loss':42,71 'make':45 'much':31 'one':23 'pleas':44 'power':65 'proper':50 'regular':52 'seem':58 'set':7 'setup':29 'sever':38 'signific':73 'sure':46 'thank':1 'time':11 'unexpect':62 'untim':64 've':36 'warn':24 'would':67 'write':3"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://lemmy.ml/comment/5846844"
        +editedAt: null
        +createdAt: DateTimeImmutable @1700129102 {#1435
          date: 2023-11-16 11:05:02.0 +01:00
        }
        +"title": 129669
      }
    ]
    -id: 13261
    -titleTs: "'amaz':3 'bcach':1 'faster':7 'hdd':5 'make':4 'way':6"
    -bodyTs: "'-15':125 '-4067':748,766,775 '-88':749,767,776 '-9663':747,765,774 '/4c1492f537d9785e19406eb5cd99173':1131 '/bcache-tools.git':448 '/boot':606,617 '/boot/efi':632 '/comment/5577205)from':40 '/dev/bcache0':700,836,855,864,873 '/dev/bcache1':701 '/dev/nvme0n1':544 '/dev/nvme0n1p1':595,709,737 '/dev/nvme0n1p2':602,807,882 '/dev/nvme0n1p3':628,817,886 '/dev/sda':537,682 '/dev/sda1':584,666 '/dev/sdb':539,680 '/dev/sdb1':591,667 '/hardenedarray/4c1492f537d9785e19406eb5cd991735)[':1134 '/mnt':837,853,861,920,924 '/mnt/boot':883 '/mnt/boot/efi':887 '/mnt/home':850,870 '/mnt/root':841 '/mnt/var':845,879 '/news/btrfs-raid-56-is-bad)':239 '/oldwiki/btrfs.wiki.kernel.org/index.php/using_btrfs_with_multiple_devices.html)':1139 '/post/7585833).':59 '/run/archiso/cowspace':323 '/sys/block/bcache0/bcache/attach':771 '/sys/block/bcache1/bcache/attach':780 '/sys/block/sda/sda1/bcache/stop':1110 '/sys/firmware/efi/efivars':296 '/title/bcache](https://wiki.archlinux.org/title/bcache)[wiki.archlinux.org/title/btrfs](https://wiki.archlinux.org/title/btrfs)[gist.github.com/':1130 '/u/d3xt3r@lemmy.nz)':44 '/using_btrfs_with_multiple_devices.h':1136 '1':1109 '10':124 '118g':596 '120gb':67 '15':76 '1g':603,621,812 '200m':629,822 '2nd':348 '2x500gb':64 '3':574 '32':816 '4':211,252 '500':585 '500gb':589 '8g':322 '8gb':251,261 'abl':403 'accident':1114 'achiev':502 'act':405 'activ':1092 'actual':51 'add':413,955,970 'af':751,769,778 'af-c5066a6c661b':750,768,777 'alt':353,429 'alway':7 'amaz':148 'answer':34,37 'anyon':180 'anyth':81,192,219,1070 'app':225 'arch':244,272,834,890,892,935,1019,1055 'arch-chroot':934,1054 'archach':697 'archive.kernel.org':1138 'archive.kernel.org/oldwiki/btrfs.wiki.kernel.org/index.php/using_btrfs_with_multiple_devices.html)':1137 'ask':23 'assur':1035 'aur':317,442 'aur.archlinux.org':447 'aur.archlinux.org/bcache-tools.git':446 'b':665 'back':903,927 'base':327,334,979 'base-devel':326,333 'basic':20 'bcach':284,299,440,451,508,514,664,707,734,897,913,956,966,982,1023,1062 'bcache-super-show':733 'bcache-tool':439,450,896,912,1061 'bcache-tools-1.1-1-x86_64.pkg.tar.zst':923,939 'bcache0':675,792 'bcache1':677,794 'better':636 'bg3':96 'block':973,981 'boot':145,290,645,804 'bottom':418 'boy':89 'btrfs':515,838,842,847 'busi':1077 'buy':63,210 'c':708 'c5066a6c661b':752,770,779 'cach':601,704,714 'call':674 'care':130 'cd':449 'cfdisk':550 'cheap':72,74 'cheapest':201 'choic':953 'chroot':936,1056 'clone':437,445 'command':669,732,762,990,1117 'complic':1027 'compress':859,868,877 'configur':54,512,659,802,942 'confus':170 'copi':910 'cp':922 'creat':840,844,849 'cset.uuid':721,739,745 'ctrl':352,428 'd':698 'd3xter':41 'data':187 'decid':61 'devel':328,335 'devic':1075 'differ':109,152 'distro':270 'done':474,781 'drive':285,520,554,831,1095 'easiest':275 'echo':763,772,1108 'edit':410,945,1107 'editor':951 'efi':647 'els':205 'endless':21 'error':478 'even':607 'ever':14 'everyday':16 'exampl':740,977,1098 'execut':505,988,1115 'f':815 'f2':354 'f3':430 'fast':121 'favor':197 'fc3aac3b':746,764,773 'fifth':888 'figur':48 'filesystem':976 'finish':371 'first':182 'flesystem':983 'follow':891 'formati':581 'found':483 'fouth':511 'g':388 'game':98,222 'gb':586 'get':92,214,241 'gist.github.com':1133 'gist.github.com/hardenedarray/4c1492f537d9785e19406eb5cd991735)[':1132 'git':330,336,444 'go':346,902,926 'got':29 'grep':738 'grub':901,994 'guid':178 'hard':626 'hdd':65,157,212,525,542,568,587 'headach':1029 'hell':172 'help':33,46 'home':867 'hook':969,978 'howev':35 'identifi':523 'ignor':337 'import':195 'induc':1030 'initcpio':986 'insan':165 'inspect':458 'instal':168,280,298,325,489,833,889,919,930,998,1018,1060 'instanc':534 'internet':303,343 'interst':181 'iso':311 'kernel':496,612,1088 'kernel.org':1135 'knew':623 'know':723 'l':696 'last':26,160,895,997 'least':250 'lemmy.ml':39,43,58 'lemmy.ml/comment/5577205)from':38 'lemmy.ml/post/7585833).':57 'lemmy.ml/u/d3xt3r@lemmy.nz)':42 'less':619 'let':529 'like':75,963 'line':415 'linux':4,13,338,993,1020 'list':518 'live':245,306,310 'load':119,142,498 'login':356,431 'lol':894 'look':962 'lost':86 'lot':31 'love':3,12 'ls':295 'lsblk':522,686,784 'lzo':860,869,878 'm':387 'make':287,466,563,573,615,663,671,689,706,984,1003 'make-bcach':662,705 'makepkg':379,469 'mayb':123 'mention':1011 'might':253 'mkdir':863,872,881,885 'mkfs.btrfs':695 'mkfs.ext4':806 'mkfs.vfat':814 'mkinitcpio':899,944,947,991 'modprob':507 'modul':959,965 'mount':318,827,835,854,862,871,880,884 'need':135,373,399,492,641,1058,1084 'new':116 'newli':918 'next':363 'note':1043 'noth':87 'notic':150 'nvme':68 'nvme0n1p1':797 'o':319,856,865,874 'okay':1,656 'old':112 'one':257,564,611,908,1103 'option':846,851 'otherwis':365,649 'output':743 'p':992 'packag':486,915 'pacman':331,937 'pain':1042 'partit':552,565,575,590,598,604,618,630,648,673,798,805,813,823,1008 'partprob':510,1082,1121 'passwd':391 'password':396 'perform':103,198 'pkgbuild':460 'possibl':18,202 'press':351,427 'problem':1047 'proceed':464 'process':369 'pseudo':177 'pseudo-guid':176 'raid':661,690,717 'raid0':25,517,699 'raid10':215 'raid5':231 'realli':45 'reboot':1050 'refer':1127 'reformat':1069 'regist':712,757 'rememb':808,818 'remot':193 'remount':308,320 'repo':443 'requir':100 'right':1009 'root':358,383,858 'run':381 'safe':637 'save':424 'say':531 'sda':1100 'sda1':569 'sdb1':571 'second':240 'see':107,788 'separ':644 'set':394,436 'setup':117,162,190,234,375,718 'show':736,1073,1124 'sinc':378 'size':321 'slow':342 'slower':127 'smallest':256 'sorri':639 'sri':470 'ssd':69,101,113,161,528,547,578,597 'step':364 'stick':247 'stop':1090 'store':185,218 'subvol':857,866,875 'subvolum':839,843,848 'suck':236 'sudo':506,509,921 'super':735 'superus':407 'sure':288,1004,1032 'surpris':8,93 'system':56,307,655,1024 'tell':494,1086 'test':95 'textur':140 'think':263 'third':297 'throw':477 'time':146 'tool':441,452,898,914,1063 'total':77,1039 'tti':349 'tty1':928 'tty3':905 'two':694 'type':294,385,468 'u':938 'udev':980 'uefi':292 'umount':852 'unboot':654 'unless':206 'usb':246 'use':230,266,315,549,558,685,730,760,949,1120 'user':377,390,392,401,419,433,907 'useradd':386 'usual':1001 'uuid':727 'var':876 'visudo':411 'vmliuz':480 'wait':137,366 'want':52,208,278,455,561,1052,1067,1105 'way':627 'week':27 'well':104,122 'whatev':559 'wheel':389 'wiki':893 'wiki.archlinux.org':1129 'wiki.archlinux.org/title/bcache](https://wiki.archlinux.org/title/bcache)[wiki.archlinux.org/title/btrfs](https://wiki.archlinux.org/title/btrfs)[gist.github.com/':1128 'wont':380 'work':254 'worth':1040 'write':174 'wrong':82 'www.phoronix.com':238 'www.phoronix.com/news/btrfs-raid-56-is-bad)':237 'yet':583"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1700146309
    +visibility: "visible             "
    +apId: "https://lemmy.ml/post/8002348"
    +editedAt: DateTimeImmutable @1700319306 {#1693
      date: 2023-11-18 15:55:06.0 +01:00
    }
    +createdAt: DateTimeImmutable @1700059909 {#1550
      date: 2023-11-15 15:51:49.0 +01:00
    }
    +__isInitialized__: true
     …2
  }
  "dateAsUrl" => true
]
Attributes
[
  "dateAsUrl" => true
]
Component
App\Twig\Components\EntryComponent {#2773
  -authorizationChecker: Symfony\Component\Security\Core\Authorization\AuthorizationChecker {#931 …}
  -newCommentMarkerCount: App\Kbin\NewCommentMarker\NewCommentMarkerCount {#2774 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -twig: Twig\Environment {#1252 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
  -security: Symfony\Bundle\SecurityBundle\Security {#1101 …}
  +entry: Proxies\__CG__\App\Entity\Entry {#1592
    +user: Proxies\__CG__\App\Entity\User {#2458
      +avatar: null
      +cover: null
      +email: "Uluganda@lemmy.ml"
      +username: "@Uluganda@lemmy.ml"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1700365066 {#3317
        date: 2023-11-19 04:37:46.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#3320 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#3322 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#3324 …}
      +entries: Doctrine\ORM\PersistentCollection {#3326 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#3328 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#3330 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3332 …}
      +posts: Doctrine\ORM\PersistentCollection {#3334 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#3336 …}
      +postComments: Doctrine\ORM\PersistentCollection {#3338 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#3340 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#3342 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#3344 …}
      +follows: Doctrine\ORM\PersistentCollection {#3346 …}
      +followers: Doctrine\ORM\PersistentCollection {#3348 …}
      +blocks: Doctrine\ORM\PersistentCollection {#3350 …}
      +blockers: Doctrine\ORM\PersistentCollection {#3352 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#3354 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#3356 …}
      +reports: Doctrine\ORM\PersistentCollection {#3358 …}
      +favourites: Doctrine\ORM\PersistentCollection {#3360 …}
      +violations: Doctrine\ORM\PersistentCollection {#3362 …}
      +notifications: Doctrine\ORM\PersistentCollection {#3364 …}
      +awards: Doctrine\ORM\PersistentCollection {#3366 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#3368 …}
      +categories: Doctrine\ORM\PersistentCollection {#3370 …}
      -id: 9933
      -password: "$2y$13$Cd0jic67tC6T7tuaqa7iWewkFHt3J3XyusH8Bh.FZvcZOPIwsBfA6"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#3372 …}
      +apId: "Uluganda@lemmy.ml"
      +apProfileId: "https://lemmy.ml/u/Uluganda"
      +apPublicUrl: "https://lemmy.ml/u/Uluganda"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "Uluganda"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1707245788 {#3318
        date: 2024-02-06 19:56:28.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687567147 {#3319
        date: 2023-06-24 02:39:07.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +magazine: Proxies\__CG__\App\Entity\Magazine {#1579
      +icon: Proxies\__CG__\App\Entity\Image {#2847 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#2826
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#2846 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#2844 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#2849 …}
      +entries: Doctrine\ORM\PersistentCollection {#2850 …}
      +posts: Doctrine\ORM\PersistentCollection {#2853 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#2855 …}
      +bans: Doctrine\ORM\PersistentCollection {#2861 …}
      +reports: Doctrine\ORM\PersistentCollection {#2869 …}
      +badges: Doctrine\ORM\PersistentCollection {#2882 …}
      +logs: Doctrine\ORM\PersistentCollection {#2892 …}
      +awards: Doctrine\ORM\PersistentCollection {#2874 …}
      +categories: Doctrine\ORM\PersistentCollection {#2898 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#2827
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#2828
        date: 2023-11-02 13:51:08.0 +01:00
      }
      +__isInitialized__: true
       …2
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1732 …}
    +slug: "Bcache-is-amazing-Making-HDD-way-faster"
    +title: "Bcache is amazing!: Making HDD way faster!"
    +url: null
    +body: """
      Okay, I love Linux. But I always surprised that I can love Linux ever more everyday. The possibility is basically endless!\n
      \n
      I asked about raid0 last week and got a lot of helpful answers. However, this[ answer ](https://lemmy.ml/comment/5577205)from [d3Xter](https://lemmy.ml/u/d3Xt3r@lemmy.nz) really helped me figures how I actually want to [configure my system](https://lemmy.ml/post/7585833). I decided to buy 2x500GB HDD and 120GB NVME SSD. It’s cheap, very cheap. Like $15 total. If there is anything wrong with them, I lost nothing. But boy did I get surprised. I tested BG3, a game that requires SSD to perform well and I see no difference between my old SSD and my new setup. It loads as fast (well, maybe 10-15s slower, but who cares?), and I do not need to wait for the textures to load, at all. Boot time is amazing. I notice no difference at all between this HDD and my last SSD setup. Which is insane!\n
      \n
      But the installation is confusing as hell. I write this pseudo-guide for anyone intersted.\n
      \n
      FIRST: DO NOT STORE ANY DATA IN THIS SETUP FOR ANYTHING REMOTE TO IMPORTANT!\n
      \n
      I favor performance for the cheapest possible above all else. Unless you want to buy 4 HDD to get raid10, do not store anything other than games and your apps on it. Do not use raid5 in this setup, [it sucks.](https://www.phoronix.com/news/Btrfs-RAID-56-Is-Bad)\n
      \n
      Second: Get yourself an Arch live USB stick with at least 8GB (4 might works, but smallest one I have is 8GB). I think you can use it on other distro, but Arch is the easiest if you want to install IT on the bcache drive. And make sure you booted into UEFI by typing:\n
      \n
      `ls /sys/firmware/efi/efivars/`\n
      \n
      Third: Installing bcache. After you have internet on your live system, remount your live iso so we can use the AUR.\n
      \n
      `mount -o remount,size=8G /run/archiso/cowspace`\n
      \n
      Then, install base-devel and git\n
      \n
      `pacman -S base-devel git --ignore linux`\n
      \n
      If you have slow internet, you can go to 2nd tty by pressing ctrl + alt + f2 and login as root there to do the next step, otherwise wait for the process to finish. We need to setup a user since makepkg wont run on root. So, type:\n
      \n
      `useradd -m -G wheel user && passwd user` and set your password Then we need the user to able to act as superuser. So, we edit `visudo` and add this line at the bottom: `user ALL=(ALL:ALL)ALL` save it and press ctrl + alt + f3, login as user you just set. Clone the bcache-tools AUR repo: `git clone https://aur.archlinux.org/bcache-tools.git && cd bcache-tools`\n
      \n
      If you want you can inspect the PKGBUILD, but we will proceed to make it, type:\n
      \n
      `makepkg -sri`\n
      \n
      Once it is done, it will throw error about vmliuz is not found, but the package itself is installed, you just need to tell the kernel to load it. We can achieve that by executing:\n
      \n
      `sudo modprobe bcache && sudo partprobe`\n
      \n
      Fouth: Configuring the bcache, btrfs, and raid0 List your drive with `lsblk` identify your HDD and your SSD. Let’s say in this instance, we have /dev/sda and /dev/sdb as our HDD and /dev/nvme0n1 as our SSD. I use cfdisk to partition my drive, but you can use whatever you want. I make one partition for both HDD, sda1 and sdb1, and make 3 partitions for my SSD. DO NOT FORMATI IT YET. /dev/sda1 : 500 GB HDD with 500GB partition /dev/sdb1 : same as before /dev/nvme0n1p1 : 118G SSD partition as the cache /dev/nvme0n1p2 : 1G partition as /boot. Even if you have one kernel, do not make a /boot partition less than 1G. I knew it in hard way. /dev/nvme0n1p3 : 200M partition as /boot/efi. Same as before, better safe than sorry. YOU NEED TO HAVE SEPARATE BOOT AND EFI PARTITION, OTHERWISE YOU WILL HAVE AN UNBOOTABLE SYSTEM!\n
      \n
      Okay, now we configure our raid.\n
      \n
      `make-bcache -B /dev/sda1 /dev/sdb1`\n
      \n
      This command will make a partition (?) called bcache0 and bcache1 under both /dev/sdb and /dev/sda if you use\n
      \n
      `lsblk`\n
      \n
      Now, we make raid out of those two.\n
      \n
      `mkfs.btrfs -L ARCHACHED -d raid0 /dev/bcache0 /dev/bcache1`\n
      \n
      Then the cache.\n
      \n
      `make-bcache -C /dev/nvme0n1p1`\n
      \n
      We can register the cache for our raid setup by its cset.uuid. To know what is the uuid, we can use this command.\n
      \n
      `bcache-super-show /dev/nvme0n1p1 |grep cset.uuid`\n
      \n
      Example of the output is:\n
      \n
      `cset.uuid fc3aac3b-9663-4067-88af-c5066a6c661b`\n
      \n
      From that, we can register it by using this command:\n
      \n
      `echo fc3aac3b-9663-4067-88af-c5066a6c661b > /sys/block/bcache0/bcache/attach`\n
      \n
      `echo fc3aac3b-9663-4067-88af-c5066a6c661b > /sys/block/bcache1/bcache/attach`\n
      \n
      Done! If you `lsblk` now, you can see that there is bcache0 and bcache1 under the nvme0n1p1 partition.\n
      \n
      Now, we can configure our boot partition.\n
      \n
      `mkfs.ext4 /dev/nvme0n1p2` (Remember, this is the 1G partition)\n
      \n
      `mkfs.vfat -F 32 /dev/nvme0n1p3` (Remember, this is the 200M partition)\n
      \n
      We can then mount all of those drive to install Arch.\n
      \n
      `mount /dev/bcache0 /mnt`\n
      \n
      `btrfs subvolume create /mnt/root`\n
      \n
      `btrfs subvolume create /mnt/var` (optional)\n
      \n
      `btrfs subvolume create /mnt/home` (optional)\n
      \n
      `umount /mnt`\n
      \n
      `mount /dev/bcache0 -o subvol=root,compress=lzo /mnt/`\n
      \n
      `mount --mkdir /dev/bcache0 -o subvol=home,compress=lzo /mnt/home`\n
      \n
      `mount --mkdir /dev/bcache0 -o subvol=var,compress=lzo /mnt/var`\n
      \n
      `mount --mkdir /dev/nvme0n1p2 /mnt/boot`\n
      \n
      `mount --mkdir /dev/nvme0n1p3 /mnt/boot/efi`\n
      \n
      Fifth: Install Arch Follow arch wiki, lol.\n
      \n
      Last: bcache-tools, mkinitcpio, and grub. Go back to tty3, the user one. And copy the bcache-tools package to your newly installed /mnt\n
      \n
      `sudo cp bcache-tools-1.1-1-x86_64.pkg.tar.zst /mnt`\n
      \n
      Then go back tty1 and install it on you arch-chroot.\n
      \n
      `pacman -U bcache-tools-1.1-1-x86_64.pkg.tar.zst`\n
      \n
      Now, we configure the mkinitcpio. Edit your mkinitcpio by using you editor of choice. And add bcache in in MODULES so it looks like this:\n
      \n
      `MODULES=(bcache)`\n
      \n
      And in HOOKS, add it after block and before filesystem. Example:\n
      \n
      `HOOKS=(base udev block bcache flesystem)`\n
      \n
      Make your initcpio by executing this command:\n
      \n
      `mkinitcpio -p linux`\n
      \n
      Grub is the last. Install it as usual. Just make sure you did the partition right, as mentioned before.\n
      \n
      That’s it. You just install Arch Linux on a bcache system. It’s complicated, and headache inducing for sure, but I assure you it is totally worth that pain.\n
      \n
      Note: If you have problem after you reboot, and want to arch-chroot, you need to install bcache-tools again. If you want to reformat anything and it shows the device as busy after you did the `partprobe`, you need to tell the kernel to stop any activity to the drive. In this example the sda is the one you want to edit.\n
      \n
      `echo 1 > /sys/block/sda/sda1/bcache/stop`\n
      \n
      Now, if you accidentally execute the command, you can use `partprobe` again to show it up.\n
      \n
      Reference: [wiki.archlinux.org/title/bcache](https://wiki.archlinux.org/title/bcache)[wiki.archlinux.org/title/btrfs](https://wiki.archlinux.org/title/btrfs)[gist.github.com/…/4c1492f537d9785e19406eb5cd99173…](https://gist.github.com/HardenedArray/4c1492f537d9785e19406eb5cd991735)[…kernel.org/…/Using_Btrfs_with_Multiple_Devices.h…](https://archive.kernel.org/oldwiki/btrfs.wiki.kernel.org/index.php/Using_Btrfs_with_Multiple_Devices.html)
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 22
    +favouriteCount: 131
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1700152658 {#1526
      date: 2023-11-16 17:37:38.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1727 …}
    +votes: Doctrine\ORM\PersistentCollection {#1733 …}
    +reports: Doctrine\ORM\PersistentCollection {#1719 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1691 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1711 …}
    +badges: Doctrine\ORM\PersistentCollection {#1621 …}
    +children: [
      App\Entity\EntryComment {#1697
        +user: App\Entity\User {#265
          +avatar: null
          +cover: null
          +email: "bitduck@lemmy.ml"
          +username: "@bitduck@lemmy.ml"
          +roles: []
          +followersCount: 0
          +homepage: "front"
          +about: null
          +lastActive: DateTime @1700395689 {#275
            date: 2023-11-19 13:08:09.0 +01:00
          }
          +markedForDeletionAt: null
          +fields: null
          +oauthGithubId: null
          +oauthGoogleId: null
          +oauthFacebookId: null
          +oauthKeycloakId: null
          +hideAdult: true
          +showSubscribedUsers: true
          +showSubscribedMagazines: true
          +showSubscribedDomains: true
          +preferredLanguages: []
          +featuredMagazines: null
          +showProfileSubscriptions: false
          +showProfileFollowings: true
          +markNewComments: false
          +notifyOnNewEntry: false
          +notifyOnNewEntryReply: true
          +notifyOnNewEntryCommentReply: true
          +notifyOnNewPost: false
          +notifyOnNewPostReply: true
          +notifyOnNewPostCommentReply: true
          +addMentionsEntries: false
          +addMentionsPosts: true
          +isBanned: false
          +isVerified: false
          +isDeleted: false
          +isBot: false
          +spamProtection: true
          +customCss: null
          +ignoreMagazinesCustomCss: false
          +moderatorTokens: Doctrine\ORM\PersistentCollection {#253 …}
          +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#249 …}
          +moderatorRequests: Doctrine\ORM\PersistentCollection {#238 …}
          +entries: Doctrine\ORM\PersistentCollection {#196 …}
          +entryVotes: Doctrine\ORM\PersistentCollection {#168 …}
          +entryComments: Doctrine\ORM\PersistentCollection {#141 …}
          +entryCommentVotes: Doctrine\ORM\PersistentCollection {#111 …}
          +posts: Doctrine\ORM\PersistentCollection {#84 …}
          +postVotes: Doctrine\ORM\PersistentCollection {#99 …}
          +postComments: Doctrine\ORM\PersistentCollection {#1863 …}
          +postCommentVotes: Doctrine\ORM\PersistentCollection {#1479 …}
          +subscriptions: Doctrine\ORM\PersistentCollection {#1658 …}
          +subscribedDomains: Doctrine\ORM\PersistentCollection {#1868 …}
          +follows: Doctrine\ORM\PersistentCollection {#1917 …}
          +followers: Doctrine\ORM\PersistentCollection {#1601 …}
          +blocks: Doctrine\ORM\PersistentCollection {#1805 …}
          +blockers: Doctrine\ORM\PersistentCollection {#1810 …}
          +blockedMagazines: Doctrine\ORM\PersistentCollection {#1857 …}
          +blockedDomains: Doctrine\ORM\PersistentCollection {#1860 …}
          +reports: Doctrine\ORM\PersistentCollection {#1791 …}
          +favourites: Doctrine\ORM\PersistentCollection {#2416 …}
          +violations: Doctrine\ORM\PersistentCollection {#1824 …}
          +notifications: Doctrine\ORM\PersistentCollection {#1914 …}
          +awards: Doctrine\ORM\PersistentCollection {#1929 …}
          +subscribedCategories: Doctrine\ORM\PersistentCollection {#1867 …}
          +categories: Doctrine\ORM\PersistentCollection {#1880 …}
          -id: 76975
          -password: "$2y$13$nWTr0Xo0QFv5mDVXtKX71uDGR7vOEEnFx2jZ2jyBp0Q0cMjykForC"
          -totpSecret: null
          -totpBackupCodes: []
          -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1894 …}
          +apId: "bitduck@lemmy.ml"
          +apProfileId: "https://lemmy.ml/u/bitduck"
          +apPublicUrl: "https://lemmy.ml/u/bitduck"
          +apFollowersUrl: null
          +apInboxUrl: "https://lemmy.ml/inbox"
          +apDomain: "lemmy.ml"
          +apPreferredUsername: "bitduck"
          +apDiscoverable: true
          +apManuallyApprovesFollowers: false
          +privateKey: null
          +publicKey: null
          +apFetchedAt: DateTime @1726542633 {#269
            date: 2024-09-17 05:10:33.0 +02:00
          }
          +apDeletedAt: null
          +apTimeoutAt: null
          +visibility: "visible             "
          +createdAt: DateTimeImmutable @1700395689 {#268
            date: 2023-11-19 13:08:09.0 +01:00
          }
        }
        +entry: Proxies\__CG__\App\Entity\Entry {#1592 …2}
        +magazine: Proxies\__CG__\App\Entity\Magazine {#1579 …2}
        +image: null
        +parent: null
        +root: null
        +body: """
          Thanks for writing this! Getting bcache set up the first time can be confusing, so this certainly helps.\n
          \n
          I’ll just drop one warning in here. With a setup very much like described here I’ve had severe data corruption and loss, so please make sure your data is properly and regularly backed up. To me it seemed like almost any unexpected or untimely power off would cause some data loss or significant corruption.
          """
        +lang: "en"
        +isAdult: false
        +favouriteCount: 6
        +score: 0
        +lastActive: DateTime @1700129102 {#1439
          date: 2023-11-16 11:05:02.0 +01:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@Uluganda@lemmy.ml"
        ]
        +children: Doctrine\ORM\PersistentCollection {#1580 …}
        +nested: Doctrine\ORM\PersistentCollection {#1583 …}
        +votes: Doctrine\ORM\PersistentCollection {#1582 …}
        +reports: Doctrine\ORM\PersistentCollection {#1589 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1572 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1666 …}
        -id: 129669
        -bodyTs: "'almost':60 'back':53 'bcach':6 'caus':68 'certain':17 'confus':14 'corrupt':40,74 'data':39,48,70 'describ':33 'drop':22 'first':10 'get':5 'help':18 'like':32,59 'll':20 'loss':42,71 'make':45 'much':31 'one':23 'pleas':44 'power':65 'proper':50 'regular':52 'seem':58 'set':7 'setup':29 'sever':38 'signific':73 'sure':46 'thank':1 'time':11 'unexpect':62 'untim':64 've':36 'warn':24 'would':67 'write':3"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://lemmy.ml/comment/5846844"
        +editedAt: null
        +createdAt: DateTimeImmutable @1700129102 {#1435
          date: 2023-11-16 11:05:02.0 +01:00
        }
        +"title": 129669
      }
    ]
    -id: 13261
    -titleTs: "'amaz':3 'bcach':1 'faster':7 'hdd':5 'make':4 'way':6"
    -bodyTs: "'-15':125 '-4067':748,766,775 '-88':749,767,776 '-9663':747,765,774 '/4c1492f537d9785e19406eb5cd99173':1131 '/bcache-tools.git':448 '/boot':606,617 '/boot/efi':632 '/comment/5577205)from':40 '/dev/bcache0':700,836,855,864,873 '/dev/bcache1':701 '/dev/nvme0n1':544 '/dev/nvme0n1p1':595,709,737 '/dev/nvme0n1p2':602,807,882 '/dev/nvme0n1p3':628,817,886 '/dev/sda':537,682 '/dev/sda1':584,666 '/dev/sdb':539,680 '/dev/sdb1':591,667 '/hardenedarray/4c1492f537d9785e19406eb5cd991735)[':1134 '/mnt':837,853,861,920,924 '/mnt/boot':883 '/mnt/boot/efi':887 '/mnt/home':850,870 '/mnt/root':841 '/mnt/var':845,879 '/news/btrfs-raid-56-is-bad)':239 '/oldwiki/btrfs.wiki.kernel.org/index.php/using_btrfs_with_multiple_devices.html)':1139 '/post/7585833).':59 '/run/archiso/cowspace':323 '/sys/block/bcache0/bcache/attach':771 '/sys/block/bcache1/bcache/attach':780 '/sys/block/sda/sda1/bcache/stop':1110 '/sys/firmware/efi/efivars':296 '/title/bcache](https://wiki.archlinux.org/title/bcache)[wiki.archlinux.org/title/btrfs](https://wiki.archlinux.org/title/btrfs)[gist.github.com/':1130 '/u/d3xt3r@lemmy.nz)':44 '/using_btrfs_with_multiple_devices.h':1136 '1':1109 '10':124 '118g':596 '120gb':67 '15':76 '1g':603,621,812 '200m':629,822 '2nd':348 '2x500gb':64 '3':574 '32':816 '4':211,252 '500':585 '500gb':589 '8g':322 '8gb':251,261 'abl':403 'accident':1114 'achiev':502 'act':405 'activ':1092 'actual':51 'add':413,955,970 'af':751,769,778 'af-c5066a6c661b':750,768,777 'alt':353,429 'alway':7 'amaz':148 'answer':34,37 'anyon':180 'anyth':81,192,219,1070 'app':225 'arch':244,272,834,890,892,935,1019,1055 'arch-chroot':934,1054 'archach':697 'archive.kernel.org':1138 'archive.kernel.org/oldwiki/btrfs.wiki.kernel.org/index.php/using_btrfs_with_multiple_devices.html)':1137 'ask':23 'assur':1035 'aur':317,442 'aur.archlinux.org':447 'aur.archlinux.org/bcache-tools.git':446 'b':665 'back':903,927 'base':327,334,979 'base-devel':326,333 'basic':20 'bcach':284,299,440,451,508,514,664,707,734,897,913,956,966,982,1023,1062 'bcache-super-show':733 'bcache-tool':439,450,896,912,1061 'bcache-tools-1.1-1-x86_64.pkg.tar.zst':923,939 'bcache0':675,792 'bcache1':677,794 'better':636 'bg3':96 'block':973,981 'boot':145,290,645,804 'bottom':418 'boy':89 'btrfs':515,838,842,847 'busi':1077 'buy':63,210 'c':708 'c5066a6c661b':752,770,779 'cach':601,704,714 'call':674 'care':130 'cd':449 'cfdisk':550 'cheap':72,74 'cheapest':201 'choic':953 'chroot':936,1056 'clone':437,445 'command':669,732,762,990,1117 'complic':1027 'compress':859,868,877 'configur':54,512,659,802,942 'confus':170 'copi':910 'cp':922 'creat':840,844,849 'cset.uuid':721,739,745 'ctrl':352,428 'd':698 'd3xter':41 'data':187 'decid':61 'devel':328,335 'devic':1075 'differ':109,152 'distro':270 'done':474,781 'drive':285,520,554,831,1095 'easiest':275 'echo':763,772,1108 'edit':410,945,1107 'editor':951 'efi':647 'els':205 'endless':21 'error':478 'even':607 'ever':14 'everyday':16 'exampl':740,977,1098 'execut':505,988,1115 'f':815 'f2':354 'f3':430 'fast':121 'favor':197 'fc3aac3b':746,764,773 'fifth':888 'figur':48 'filesystem':976 'finish':371 'first':182 'flesystem':983 'follow':891 'formati':581 'found':483 'fouth':511 'g':388 'game':98,222 'gb':586 'get':92,214,241 'gist.github.com':1133 'gist.github.com/hardenedarray/4c1492f537d9785e19406eb5cd991735)[':1132 'git':330,336,444 'go':346,902,926 'got':29 'grep':738 'grub':901,994 'guid':178 'hard':626 'hdd':65,157,212,525,542,568,587 'headach':1029 'hell':172 'help':33,46 'home':867 'hook':969,978 'howev':35 'identifi':523 'ignor':337 'import':195 'induc':1030 'initcpio':986 'insan':165 'inspect':458 'instal':168,280,298,325,489,833,889,919,930,998,1018,1060 'instanc':534 'internet':303,343 'interst':181 'iso':311 'kernel':496,612,1088 'kernel.org':1135 'knew':623 'know':723 'l':696 'last':26,160,895,997 'least':250 'lemmy.ml':39,43,58 'lemmy.ml/comment/5577205)from':38 'lemmy.ml/post/7585833).':57 'lemmy.ml/u/d3xt3r@lemmy.nz)':42 'less':619 'let':529 'like':75,963 'line':415 'linux':4,13,338,993,1020 'list':518 'live':245,306,310 'load':119,142,498 'login':356,431 'lol':894 'look':962 'lost':86 'lot':31 'love':3,12 'ls':295 'lsblk':522,686,784 'lzo':860,869,878 'm':387 'make':287,466,563,573,615,663,671,689,706,984,1003 'make-bcach':662,705 'makepkg':379,469 'mayb':123 'mention':1011 'might':253 'mkdir':863,872,881,885 'mkfs.btrfs':695 'mkfs.ext4':806 'mkfs.vfat':814 'mkinitcpio':899,944,947,991 'modprob':507 'modul':959,965 'mount':318,827,835,854,862,871,880,884 'need':135,373,399,492,641,1058,1084 'new':116 'newli':918 'next':363 'note':1043 'noth':87 'notic':150 'nvme':68 'nvme0n1p1':797 'o':319,856,865,874 'okay':1,656 'old':112 'one':257,564,611,908,1103 'option':846,851 'otherwis':365,649 'output':743 'p':992 'packag':486,915 'pacman':331,937 'pain':1042 'partit':552,565,575,590,598,604,618,630,648,673,798,805,813,823,1008 'partprob':510,1082,1121 'passwd':391 'password':396 'perform':103,198 'pkgbuild':460 'possibl':18,202 'press':351,427 'problem':1047 'proceed':464 'process':369 'pseudo':177 'pseudo-guid':176 'raid':661,690,717 'raid0':25,517,699 'raid10':215 'raid5':231 'realli':45 'reboot':1050 'refer':1127 'reformat':1069 'regist':712,757 'rememb':808,818 'remot':193 'remount':308,320 'repo':443 'requir':100 'right':1009 'root':358,383,858 'run':381 'safe':637 'save':424 'say':531 'sda':1100 'sda1':569 'sdb1':571 'second':240 'see':107,788 'separ':644 'set':394,436 'setup':117,162,190,234,375,718 'show':736,1073,1124 'sinc':378 'size':321 'slow':342 'slower':127 'smallest':256 'sorri':639 'sri':470 'ssd':69,101,113,161,528,547,578,597 'step':364 'stick':247 'stop':1090 'store':185,218 'subvol':857,866,875 'subvolum':839,843,848 'suck':236 'sudo':506,509,921 'super':735 'superus':407 'sure':288,1004,1032 'surpris':8,93 'system':56,307,655,1024 'tell':494,1086 'test':95 'textur':140 'think':263 'third':297 'throw':477 'time':146 'tool':441,452,898,914,1063 'total':77,1039 'tti':349 'tty1':928 'tty3':905 'two':694 'type':294,385,468 'u':938 'udev':980 'uefi':292 'umount':852 'unboot':654 'unless':206 'usb':246 'use':230,266,315,549,558,685,730,760,949,1120 'user':377,390,392,401,419,433,907 'useradd':386 'usual':1001 'uuid':727 'var':876 'visudo':411 'vmliuz':480 'wait':137,366 'want':52,208,278,455,561,1052,1067,1105 'way':627 'week':27 'well':104,122 'whatev':559 'wheel':389 'wiki':893 'wiki.archlinux.org':1129 'wiki.archlinux.org/title/bcache](https://wiki.archlinux.org/title/bcache)[wiki.archlinux.org/title/btrfs](https://wiki.archlinux.org/title/btrfs)[gist.github.com/':1128 'wont':380 'work':254 'worth':1040 'write':174 'wrong':82 'www.phoronix.com':238 'www.phoronix.com/news/btrfs-raid-56-is-bad)':237 'yet':583"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1700146309
    +visibility: "visible             "
    +apId: "https://lemmy.ml/post/8002348"
    +editedAt: DateTimeImmutable @1700319306 {#1693
      date: 2023-11-18 15:55:06.0 +01:00
    }
    +createdAt: DateTimeImmutable @1700059909 {#1550
      date: 2023-11-15 15:51:49.0 +01:00
    }
    +__isInitialized__: true
     …2
  }
  +isSingle: false
  +showShortSentence: true
  +showBody: false
  +showMagazineName: true
  +canSeeTrash: false
  +newComments: 0
}
user_inline App\Twig\Components\UserInlineComponent 12.0 MiB 0.90 ms
Input props
[
  "user" => Proxies\__CG__\App\Entity\User {#2458
    +avatar: null
    +cover: null
    +email: "Uluganda@lemmy.ml"
    +username: "@Uluganda@lemmy.ml"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1700365066 {#3317
      date: 2023-11-19 04:37:46.0 +01:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#3320 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#3322 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#3324 …}
    +entries: Doctrine\ORM\PersistentCollection {#3326 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#3328 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#3330 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3332 …}
    +posts: Doctrine\ORM\PersistentCollection {#3334 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#3336 …}
    +postComments: Doctrine\ORM\PersistentCollection {#3338 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#3340 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#3342 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#3344 …}
    +follows: Doctrine\ORM\PersistentCollection {#3346 …}
    +followers: Doctrine\ORM\PersistentCollection {#3348 …}
    +blocks: Doctrine\ORM\PersistentCollection {#3350 …}
    +blockers: Doctrine\ORM\PersistentCollection {#3352 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#3354 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#3356 …}
    +reports: Doctrine\ORM\PersistentCollection {#3358 …}
    +favourites: Doctrine\ORM\PersistentCollection {#3360 …}
    +violations: Doctrine\ORM\PersistentCollection {#3362 …}
    +notifications: Doctrine\ORM\PersistentCollection {#3364 …}
    +awards: Doctrine\ORM\PersistentCollection {#3366 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#3368 …}
    +categories: Doctrine\ORM\PersistentCollection {#3370 …}
    -id: 9933
    -password: "$2y$13$Cd0jic67tC6T7tuaqa7iWewkFHt3J3XyusH8Bh.FZvcZOPIwsBfA6"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#3372 …}
    +apId: "Uluganda@lemmy.ml"
    +apProfileId: "https://lemmy.ml/u/Uluganda"
    +apPublicUrl: "https://lemmy.ml/u/Uluganda"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "Uluganda"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1707245788 {#3318
      date: 2024-02-06 19:56:28.0 +01:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687567147 {#3319
      date: 2023-06-24 02:39:07.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
  "showAvatar" => false
]
Attributes
[]
Component
App\Twig\Components\UserInlineComponent {#3272
  +user: Proxies\__CG__\App\Entity\User {#2458
    +avatar: null
    +cover: null
    +email: "Uluganda@lemmy.ml"
    +username: "@Uluganda@lemmy.ml"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1700365066 {#3317
      date: 2023-11-19 04:37:46.0 +01:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#3320 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#3322 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#3324 …}
    +entries: Doctrine\ORM\PersistentCollection {#3326 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#3328 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#3330 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3332 …}
    +posts: Doctrine\ORM\PersistentCollection {#3334 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#3336 …}
    +postComments: Doctrine\ORM\PersistentCollection {#3338 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#3340 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#3342 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#3344 …}
    +follows: Doctrine\ORM\PersistentCollection {#3346 …}
    +followers: Doctrine\ORM\PersistentCollection {#3348 …}
    +blocks: Doctrine\ORM\PersistentCollection {#3350 …}
    +blockers: Doctrine\ORM\PersistentCollection {#3352 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#3354 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#3356 …}
    +reports: Doctrine\ORM\PersistentCollection {#3358 …}
    +favourites: Doctrine\ORM\PersistentCollection {#3360 …}
    +violations: Doctrine\ORM\PersistentCollection {#3362 …}
    +notifications: Doctrine\ORM\PersistentCollection {#3364 …}
    +awards: Doctrine\ORM\PersistentCollection {#3366 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#3368 …}
    +categories: Doctrine\ORM\PersistentCollection {#3370 …}
    -id: 9933
    -password: "$2y$13$Cd0jic67tC6T7tuaqa7iWewkFHt3J3XyusH8Bh.FZvcZOPIwsBfA6"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#3372 …}
    +apId: "Uluganda@lemmy.ml"
    +apProfileId: "https://lemmy.ml/u/Uluganda"
    +apPublicUrl: "https://lemmy.ml/u/Uluganda"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "Uluganda"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1707245788 {#3318
      date: 2024-02-06 19:56:28.0 +01:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687567147 {#3319
      date: 2023-06-24 02:39:07.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
  +showAvatar: false
}
date App\Twig\Components\DateComponent 12.0 MiB 0.55 ms
Input props
[
  "date" => DateTimeImmutable @1700059909 {#1550
    date: 2023-11-15 15:51:49.0 +01:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateComponent {#3395
  +date: DateTimeImmutable @1700059909 {#1550
    date: 2023-11-15 15:51:49.0 +01:00
  }
}
date_edited App\Twig\Components\DateEditedComponent 12.0 MiB 0.29 ms
Input props
[
  "createdAt" => DateTimeImmutable @1700059909 {#1550
    date: 2023-11-15 15:51:49.0 +01:00
  }
  "editedAt" => DateTimeImmutable @1700319306 {#1693
    date: 2023-11-18 15:55:06.0 +01:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateEditedComponent {#3459
  +createdAt: DateTimeImmutable @1700059909 {#1550
    date: 2023-11-15 15:51:49.0 +01:00
  }
  +editedAt: DateTimeImmutable @1700319306 {#1693
    date: 2023-11-18 15:55:06.0 +01:00
  }
}
magazine_inline App\Twig\Components\MagazineInlineComponent 12.0 MiB 2.36 ms
Input props
[
  "magazine" => Proxies\__CG__\App\Entity\Magazine {#1579
    +icon: Proxies\__CG__\App\Entity\Image {#2847 …}
    +name: "linux@lemmy.ml"
    +title: "linux"
    +description: """
      From Wikipedia, the free encyclopedia\n
      \n
      Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
      \n
      Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
      \n
      ### Rules\n
      \n
      - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
      - No misinformation\n
      - No NSFW content\n
      - No hate speech, bigotry, etc\n
      \n
      ### Related Communities\n
      \n
      - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
      - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
      - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
      - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
      \n
      Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
      """
    +rules: null
    +subscriptionsCount: 1
    +entryCount: 1406
    +entryCommentCount: 28632
    +postCount: 6
    +postCommentCount: 214
    +isAdult: false
    +customCss: null
    +lastActive: DateTime @1729583542 {#2826
      date: 2024-10-22 09:52:22.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#2846 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#2844 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#2849 …}
    +entries: Doctrine\ORM\PersistentCollection {#2850 …}
    +posts: Doctrine\ORM\PersistentCollection {#2853 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#2855 …}
    +bans: Doctrine\ORM\PersistentCollection {#2861 …}
    +reports: Doctrine\ORM\PersistentCollection {#2869 …}
    +badges: Doctrine\ORM\PersistentCollection {#2882 …}
    +logs: Doctrine\ORM\PersistentCollection {#2892 …}
    +awards: Doctrine\ORM\PersistentCollection {#2874 …}
    +categories: Doctrine\ORM\PersistentCollection {#2898 …}
    -id: 73
    +apId: "linux@lemmy.ml"
    +apProfileId: "https://lemmy.ml/c/linux"
    +apPublicUrl: "https://lemmy.ml/c/linux"
    +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "linux"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: null
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729583596 {#2827
      date: 2024-10-22 09:53:16.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1698929468 {#2828
      date: 2023-11-02 13:51:08.0 +01:00
    }
    +__isInitialized__: true
     …2
  }
  "showAvatar" => false
]
Attributes
[]
Component
App\Twig\Components\MagazineInlineComponent {#3524
  +magazine: Proxies\__CG__\App\Entity\Magazine {#1579
    +icon: Proxies\__CG__\App\Entity\Image {#2847 …}
    +name: "linux@lemmy.ml"
    +title: "linux"
    +description: """
      From Wikipedia, the free encyclopedia\n
      \n
      Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
      \n
      Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
      \n
      ### Rules\n
      \n
      - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
      - No misinformation\n
      - No NSFW content\n
      - No hate speech, bigotry, etc\n
      \n
      ### Related Communities\n
      \n
      - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
      - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
      - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
      - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
      \n
      Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
      """
    +rules: null
    +subscriptionsCount: 1
    +entryCount: 1406
    +entryCommentCount: 28632
    +postCount: 6
    +postCommentCount: 214
    +isAdult: false
    +customCss: null
    +lastActive: DateTime @1729583542 {#2826
      date: 2024-10-22 09:52:22.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#2846 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#2844 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#2849 …}
    +entries: Doctrine\ORM\PersistentCollection {#2850 …}
    +posts: Doctrine\ORM\PersistentCollection {#2853 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#2855 …}
    +bans: Doctrine\ORM\PersistentCollection {#2861 …}
    +reports: Doctrine\ORM\PersistentCollection {#2869 …}
    +badges: Doctrine\ORM\PersistentCollection {#2882 …}
    +logs: Doctrine\ORM\PersistentCollection {#2892 …}
    +awards: Doctrine\ORM\PersistentCollection {#2874 …}
    +categories: Doctrine\ORM\PersistentCollection {#2898 …}
    -id: 73
    +apId: "linux@lemmy.ml"
    +apProfileId: "https://lemmy.ml/c/linux"
    +apPublicUrl: "https://lemmy.ml/c/linux"
    +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "linux"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: null
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729583596 {#2827
      date: 2024-10-22 09:53:16.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1698929468 {#2828
      date: 2023-11-02 13:51:08.0 +01:00
    }
    +__isInitialized__: true
     …2
  }
  +showTitle: true
  +fullName: false
  +stretchedLink: false
  +showAvatar: false
}
vote App\Twig\Components\VoteComponent 12.0 MiB 0.69 ms
Input props
[
  "subject" => Proxies\__CG__\App\Entity\Entry {#1592
    +user: Proxies\__CG__\App\Entity\User {#2458
      +avatar: null
      +cover: null
      +email: "Uluganda@lemmy.ml"
      +username: "@Uluganda@lemmy.ml"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1700365066 {#3317
        date: 2023-11-19 04:37:46.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#3320 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#3322 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#3324 …}
      +entries: Doctrine\ORM\PersistentCollection {#3326 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#3328 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#3330 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3332 …}
      +posts: Doctrine\ORM\PersistentCollection {#3334 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#3336 …}
      +postComments: Doctrine\ORM\PersistentCollection {#3338 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#3340 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#3342 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#3344 …}
      +follows: Doctrine\ORM\PersistentCollection {#3346 …}
      +followers: Doctrine\ORM\PersistentCollection {#3348 …}
      +blocks: Doctrine\ORM\PersistentCollection {#3350 …}
      +blockers: Doctrine\ORM\PersistentCollection {#3352 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#3354 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#3356 …}
      +reports: Doctrine\ORM\PersistentCollection {#3358 …}
      +favourites: Doctrine\ORM\PersistentCollection {#3360 …}
      +violations: Doctrine\ORM\PersistentCollection {#3362 …}
      +notifications: Doctrine\ORM\PersistentCollection {#3364 …}
      +awards: Doctrine\ORM\PersistentCollection {#3366 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#3368 …}
      +categories: Doctrine\ORM\PersistentCollection {#3370 …}
      -id: 9933
      -password: "$2y$13$Cd0jic67tC6T7tuaqa7iWewkFHt3J3XyusH8Bh.FZvcZOPIwsBfA6"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#3372 …}
      +apId: "Uluganda@lemmy.ml"
      +apProfileId: "https://lemmy.ml/u/Uluganda"
      +apPublicUrl: "https://lemmy.ml/u/Uluganda"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "Uluganda"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1707245788 {#3318
        date: 2024-02-06 19:56:28.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687567147 {#3319
        date: 2023-06-24 02:39:07.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +magazine: Proxies\__CG__\App\Entity\Magazine {#1579
      +icon: Proxies\__CG__\App\Entity\Image {#2847 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#2826
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#2846 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#2844 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#2849 …}
      +entries: Doctrine\ORM\PersistentCollection {#2850 …}
      +posts: Doctrine\ORM\PersistentCollection {#2853 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#2855 …}
      +bans: Doctrine\ORM\PersistentCollection {#2861 …}
      +reports: Doctrine\ORM\PersistentCollection {#2869 …}
      +badges: Doctrine\ORM\PersistentCollection {#2882 …}
      +logs: Doctrine\ORM\PersistentCollection {#2892 …}
      +awards: Doctrine\ORM\PersistentCollection {#2874 …}
      +categories: Doctrine\ORM\PersistentCollection {#2898 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#2827
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#2828
        date: 2023-11-02 13:51:08.0 +01:00
      }
      +__isInitialized__: true
       …2
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1732 …}
    +slug: "Bcache-is-amazing-Making-HDD-way-faster"
    +title: "Bcache is amazing!: Making HDD way faster!"
    +url: null
    +body: """
      Okay, I love Linux. But I always surprised that I can love Linux ever more everyday. The possibility is basically endless!\n
      \n
      I asked about raid0 last week and got a lot of helpful answers. However, this[ answer ](https://lemmy.ml/comment/5577205)from [d3Xter](https://lemmy.ml/u/d3Xt3r@lemmy.nz) really helped me figures how I actually want to [configure my system](https://lemmy.ml/post/7585833). I decided to buy 2x500GB HDD and 120GB NVME SSD. It’s cheap, very cheap. Like $15 total. If there is anything wrong with them, I lost nothing. But boy did I get surprised. I tested BG3, a game that requires SSD to perform well and I see no difference between my old SSD and my new setup. It loads as fast (well, maybe 10-15s slower, but who cares?), and I do not need to wait for the textures to load, at all. Boot time is amazing. I notice no difference at all between this HDD and my last SSD setup. Which is insane!\n
      \n
      But the installation is confusing as hell. I write this pseudo-guide for anyone intersted.\n
      \n
      FIRST: DO NOT STORE ANY DATA IN THIS SETUP FOR ANYTHING REMOTE TO IMPORTANT!\n
      \n
      I favor performance for the cheapest possible above all else. Unless you want to buy 4 HDD to get raid10, do not store anything other than games and your apps on it. Do not use raid5 in this setup, [it sucks.](https://www.phoronix.com/news/Btrfs-RAID-56-Is-Bad)\n
      \n
      Second: Get yourself an Arch live USB stick with at least 8GB (4 might works, but smallest one I have is 8GB). I think you can use it on other distro, but Arch is the easiest if you want to install IT on the bcache drive. And make sure you booted into UEFI by typing:\n
      \n
      `ls /sys/firmware/efi/efivars/`\n
      \n
      Third: Installing bcache. After you have internet on your live system, remount your live iso so we can use the AUR.\n
      \n
      `mount -o remount,size=8G /run/archiso/cowspace`\n
      \n
      Then, install base-devel and git\n
      \n
      `pacman -S base-devel git --ignore linux`\n
      \n
      If you have slow internet, you can go to 2nd tty by pressing ctrl + alt + f2 and login as root there to do the next step, otherwise wait for the process to finish. We need to setup a user since makepkg wont run on root. So, type:\n
      \n
      `useradd -m -G wheel user && passwd user` and set your password Then we need the user to able to act as superuser. So, we edit `visudo` and add this line at the bottom: `user ALL=(ALL:ALL)ALL` save it and press ctrl + alt + f3, login as user you just set. Clone the bcache-tools AUR repo: `git clone https://aur.archlinux.org/bcache-tools.git && cd bcache-tools`\n
      \n
      If you want you can inspect the PKGBUILD, but we will proceed to make it, type:\n
      \n
      `makepkg -sri`\n
      \n
      Once it is done, it will throw error about vmliuz is not found, but the package itself is installed, you just need to tell the kernel to load it. We can achieve that by executing:\n
      \n
      `sudo modprobe bcache && sudo partprobe`\n
      \n
      Fouth: Configuring the bcache, btrfs, and raid0 List your drive with `lsblk` identify your HDD and your SSD. Let’s say in this instance, we have /dev/sda and /dev/sdb as our HDD and /dev/nvme0n1 as our SSD. I use cfdisk to partition my drive, but you can use whatever you want. I make one partition for both HDD, sda1 and sdb1, and make 3 partitions for my SSD. DO NOT FORMATI IT YET. /dev/sda1 : 500 GB HDD with 500GB partition /dev/sdb1 : same as before /dev/nvme0n1p1 : 118G SSD partition as the cache /dev/nvme0n1p2 : 1G partition as /boot. Even if you have one kernel, do not make a /boot partition less than 1G. I knew it in hard way. /dev/nvme0n1p3 : 200M partition as /boot/efi. Same as before, better safe than sorry. YOU NEED TO HAVE SEPARATE BOOT AND EFI PARTITION, OTHERWISE YOU WILL HAVE AN UNBOOTABLE SYSTEM!\n
      \n
      Okay, now we configure our raid.\n
      \n
      `make-bcache -B /dev/sda1 /dev/sdb1`\n
      \n
      This command will make a partition (?) called bcache0 and bcache1 under both /dev/sdb and /dev/sda if you use\n
      \n
      `lsblk`\n
      \n
      Now, we make raid out of those two.\n
      \n
      `mkfs.btrfs -L ARCHACHED -d raid0 /dev/bcache0 /dev/bcache1`\n
      \n
      Then the cache.\n
      \n
      `make-bcache -C /dev/nvme0n1p1`\n
      \n
      We can register the cache for our raid setup by its cset.uuid. To know what is the uuid, we can use this command.\n
      \n
      `bcache-super-show /dev/nvme0n1p1 |grep cset.uuid`\n
      \n
      Example of the output is:\n
      \n
      `cset.uuid fc3aac3b-9663-4067-88af-c5066a6c661b`\n
      \n
      From that, we can register it by using this command:\n
      \n
      `echo fc3aac3b-9663-4067-88af-c5066a6c661b > /sys/block/bcache0/bcache/attach`\n
      \n
      `echo fc3aac3b-9663-4067-88af-c5066a6c661b > /sys/block/bcache1/bcache/attach`\n
      \n
      Done! If you `lsblk` now, you can see that there is bcache0 and bcache1 under the nvme0n1p1 partition.\n
      \n
      Now, we can configure our boot partition.\n
      \n
      `mkfs.ext4 /dev/nvme0n1p2` (Remember, this is the 1G partition)\n
      \n
      `mkfs.vfat -F 32 /dev/nvme0n1p3` (Remember, this is the 200M partition)\n
      \n
      We can then mount all of those drive to install Arch.\n
      \n
      `mount /dev/bcache0 /mnt`\n
      \n
      `btrfs subvolume create /mnt/root`\n
      \n
      `btrfs subvolume create /mnt/var` (optional)\n
      \n
      `btrfs subvolume create /mnt/home` (optional)\n
      \n
      `umount /mnt`\n
      \n
      `mount /dev/bcache0 -o subvol=root,compress=lzo /mnt/`\n
      \n
      `mount --mkdir /dev/bcache0 -o subvol=home,compress=lzo /mnt/home`\n
      \n
      `mount --mkdir /dev/bcache0 -o subvol=var,compress=lzo /mnt/var`\n
      \n
      `mount --mkdir /dev/nvme0n1p2 /mnt/boot`\n
      \n
      `mount --mkdir /dev/nvme0n1p3 /mnt/boot/efi`\n
      \n
      Fifth: Install Arch Follow arch wiki, lol.\n
      \n
      Last: bcache-tools, mkinitcpio, and grub. Go back to tty3, the user one. And copy the bcache-tools package to your newly installed /mnt\n
      \n
      `sudo cp bcache-tools-1.1-1-x86_64.pkg.tar.zst /mnt`\n
      \n
      Then go back tty1 and install it on you arch-chroot.\n
      \n
      `pacman -U bcache-tools-1.1-1-x86_64.pkg.tar.zst`\n
      \n
      Now, we configure the mkinitcpio. Edit your mkinitcpio by using you editor of choice. And add bcache in in MODULES so it looks like this:\n
      \n
      `MODULES=(bcache)`\n
      \n
      And in HOOKS, add it after block and before filesystem. Example:\n
      \n
      `HOOKS=(base udev block bcache flesystem)`\n
      \n
      Make your initcpio by executing this command:\n
      \n
      `mkinitcpio -p linux`\n
      \n
      Grub is the last. Install it as usual. Just make sure you did the partition right, as mentioned before.\n
      \n
      That’s it. You just install Arch Linux on a bcache system. It’s complicated, and headache inducing for sure, but I assure you it is totally worth that pain.\n
      \n
      Note: If you have problem after you reboot, and want to arch-chroot, you need to install bcache-tools again. If you want to reformat anything and it shows the device as busy after you did the `partprobe`, you need to tell the kernel to stop any activity to the drive. In this example the sda is the one you want to edit.\n
      \n
      `echo 1 > /sys/block/sda/sda1/bcache/stop`\n
      \n
      Now, if you accidentally execute the command, you can use `partprobe` again to show it up.\n
      \n
      Reference: [wiki.archlinux.org/title/bcache](https://wiki.archlinux.org/title/bcache)[wiki.archlinux.org/title/btrfs](https://wiki.archlinux.org/title/btrfs)[gist.github.com/…/4c1492f537d9785e19406eb5cd99173…](https://gist.github.com/HardenedArray/4c1492f537d9785e19406eb5cd991735)[…kernel.org/…/Using_Btrfs_with_Multiple_Devices.h…](https://archive.kernel.org/oldwiki/btrfs.wiki.kernel.org/index.php/Using_Btrfs_with_Multiple_Devices.html)
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 22
    +favouriteCount: 131
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1700152658 {#1526
      date: 2023-11-16 17:37:38.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1727 …}
    +votes: Doctrine\ORM\PersistentCollection {#1733 …}
    +reports: Doctrine\ORM\PersistentCollection {#1719 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1691 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1711 …}
    +badges: Doctrine\ORM\PersistentCollection {#1621 …}
    +children: [
      App\Entity\EntryComment {#1697
        +user: App\Entity\User {#265
          +avatar: null
          +cover: null
          +email: "bitduck@lemmy.ml"
          +username: "@bitduck@lemmy.ml"
          +roles: []
          +followersCount: 0
          +homepage: "front"
          +about: null
          +lastActive: DateTime @1700395689 {#275
            date: 2023-11-19 13:08:09.0 +01:00
          }
          +markedForDeletionAt: null
          +fields: null
          +oauthGithubId: null
          +oauthGoogleId: null
          +oauthFacebookId: null
          +oauthKeycloakId: null
          +hideAdult: true
          +showSubscribedUsers: true
          +showSubscribedMagazines: true
          +showSubscribedDomains: true
          +preferredLanguages: []
          +featuredMagazines: null
          +showProfileSubscriptions: false
          +showProfileFollowings: true
          +markNewComments: false
          +notifyOnNewEntry: false
          +notifyOnNewEntryReply: true
          +notifyOnNewEntryCommentReply: true
          +notifyOnNewPost: false
          +notifyOnNewPostReply: true
          +notifyOnNewPostCommentReply: true
          +addMentionsEntries: false
          +addMentionsPosts: true
          +isBanned: false
          +isVerified: false
          +isDeleted: false
          +isBot: false
          +spamProtection: true
          +customCss: null
          +ignoreMagazinesCustomCss: false
          +moderatorTokens: Doctrine\ORM\PersistentCollection {#253 …}
          +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#249 …}
          +moderatorRequests: Doctrine\ORM\PersistentCollection {#238 …}
          +entries: Doctrine\ORM\PersistentCollection {#196 …}
          +entryVotes: Doctrine\ORM\PersistentCollection {#168 …}
          +entryComments: Doctrine\ORM\PersistentCollection {#141 …}
          +entryCommentVotes: Doctrine\ORM\PersistentCollection {#111 …}
          +posts: Doctrine\ORM\PersistentCollection {#84 …}
          +postVotes: Doctrine\ORM\PersistentCollection {#99 …}
          +postComments: Doctrine\ORM\PersistentCollection {#1863 …}
          +postCommentVotes: Doctrine\ORM\PersistentCollection {#1479 …}
          +subscriptions: Doctrine\ORM\PersistentCollection {#1658 …}
          +subscribedDomains: Doctrine\ORM\PersistentCollection {#1868 …}
          +follows: Doctrine\ORM\PersistentCollection {#1917 …}
          +followers: Doctrine\ORM\PersistentCollection {#1601 …}
          +blocks: Doctrine\ORM\PersistentCollection {#1805 …}
          +blockers: Doctrine\ORM\PersistentCollection {#1810 …}
          +blockedMagazines: Doctrine\ORM\PersistentCollection {#1857 …}
          +blockedDomains: Doctrine\ORM\PersistentCollection {#1860 …}
          +reports: Doctrine\ORM\PersistentCollection {#1791 …}
          +favourites: Doctrine\ORM\PersistentCollection {#2416 …}
          +violations: Doctrine\ORM\PersistentCollection {#1824 …}
          +notifications: Doctrine\ORM\PersistentCollection {#1914 …}
          +awards: Doctrine\ORM\PersistentCollection {#1929 …}
          +subscribedCategories: Doctrine\ORM\PersistentCollection {#1867 …}
          +categories: Doctrine\ORM\PersistentCollection {#1880 …}
          -id: 76975
          -password: "$2y$13$nWTr0Xo0QFv5mDVXtKX71uDGR7vOEEnFx2jZ2jyBp0Q0cMjykForC"
          -totpSecret: null
          -totpBackupCodes: []
          -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1894 …}
          +apId: "bitduck@lemmy.ml"
          +apProfileId: "https://lemmy.ml/u/bitduck"
          +apPublicUrl: "https://lemmy.ml/u/bitduck"
          +apFollowersUrl: null
          +apInboxUrl: "https://lemmy.ml/inbox"
          +apDomain: "lemmy.ml"
          +apPreferredUsername: "bitduck"
          +apDiscoverable: true
          +apManuallyApprovesFollowers: false
          +privateKey: null
          +publicKey: null
          +apFetchedAt: DateTime @1726542633 {#269
            date: 2024-09-17 05:10:33.0 +02:00
          }
          +apDeletedAt: null
          +apTimeoutAt: null
          +visibility: "visible             "
          +createdAt: DateTimeImmutable @1700395689 {#268
            date: 2023-11-19 13:08:09.0 +01:00
          }
        }
        +entry: Proxies\__CG__\App\Entity\Entry {#1592 …2}
        +magazine: Proxies\__CG__\App\Entity\Magazine {#1579 …2}
        +image: null
        +parent: null
        +root: null
        +body: """
          Thanks for writing this! Getting bcache set up the first time can be confusing, so this certainly helps.\n
          \n
          I’ll just drop one warning in here. With a setup very much like described here I’ve had severe data corruption and loss, so please make sure your data is properly and regularly backed up. To me it seemed like almost any unexpected or untimely power off would cause some data loss or significant corruption.
          """
        +lang: "en"
        +isAdult: false
        +favouriteCount: 6
        +score: 0
        +lastActive: DateTime @1700129102 {#1439
          date: 2023-11-16 11:05:02.0 +01:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@Uluganda@lemmy.ml"
        ]
        +children: Doctrine\ORM\PersistentCollection {#1580 …}
        +nested: Doctrine\ORM\PersistentCollection {#1583 …}
        +votes: Doctrine\ORM\PersistentCollection {#1582 …}
        +reports: Doctrine\ORM\PersistentCollection {#1589 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1572 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1666 …}
        -id: 129669
        -bodyTs: "'almost':60 'back':53 'bcach':6 'caus':68 'certain':17 'confus':14 'corrupt':40,74 'data':39,48,70 'describ':33 'drop':22 'first':10 'get':5 'help':18 'like':32,59 'll':20 'loss':42,71 'make':45 'much':31 'one':23 'pleas':44 'power':65 'proper':50 'regular':52 'seem':58 'set':7 'setup':29 'sever':38 'signific':73 'sure':46 'thank':1 'time':11 'unexpect':62 'untim':64 've':36 'warn':24 'would':67 'write':3"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://lemmy.ml/comment/5846844"
        +editedAt: null
        +createdAt: DateTimeImmutable @1700129102 {#1435
          date: 2023-11-16 11:05:02.0 +01:00
        }
        +"title": 129669
      }
    ]
    -id: 13261
    -titleTs: "'amaz':3 'bcach':1 'faster':7 'hdd':5 'make':4 'way':6"
    -bodyTs: "'-15':125 '-4067':748,766,775 '-88':749,767,776 '-9663':747,765,774 '/4c1492f537d9785e19406eb5cd99173':1131 '/bcache-tools.git':448 '/boot':606,617 '/boot/efi':632 '/comment/5577205)from':40 '/dev/bcache0':700,836,855,864,873 '/dev/bcache1':701 '/dev/nvme0n1':544 '/dev/nvme0n1p1':595,709,737 '/dev/nvme0n1p2':602,807,882 '/dev/nvme0n1p3':628,817,886 '/dev/sda':537,682 '/dev/sda1':584,666 '/dev/sdb':539,680 '/dev/sdb1':591,667 '/hardenedarray/4c1492f537d9785e19406eb5cd991735)[':1134 '/mnt':837,853,861,920,924 '/mnt/boot':883 '/mnt/boot/efi':887 '/mnt/home':850,870 '/mnt/root':841 '/mnt/var':845,879 '/news/btrfs-raid-56-is-bad)':239 '/oldwiki/btrfs.wiki.kernel.org/index.php/using_btrfs_with_multiple_devices.html)':1139 '/post/7585833).':59 '/run/archiso/cowspace':323 '/sys/block/bcache0/bcache/attach':771 '/sys/block/bcache1/bcache/attach':780 '/sys/block/sda/sda1/bcache/stop':1110 '/sys/firmware/efi/efivars':296 '/title/bcache](https://wiki.archlinux.org/title/bcache)[wiki.archlinux.org/title/btrfs](https://wiki.archlinux.org/title/btrfs)[gist.github.com/':1130 '/u/d3xt3r@lemmy.nz)':44 '/using_btrfs_with_multiple_devices.h':1136 '1':1109 '10':124 '118g':596 '120gb':67 '15':76 '1g':603,621,812 '200m':629,822 '2nd':348 '2x500gb':64 '3':574 '32':816 '4':211,252 '500':585 '500gb':589 '8g':322 '8gb':251,261 'abl':403 'accident':1114 'achiev':502 'act':405 'activ':1092 'actual':51 'add':413,955,970 'af':751,769,778 'af-c5066a6c661b':750,768,777 'alt':353,429 'alway':7 'amaz':148 'answer':34,37 'anyon':180 'anyth':81,192,219,1070 'app':225 'arch':244,272,834,890,892,935,1019,1055 'arch-chroot':934,1054 'archach':697 'archive.kernel.org':1138 'archive.kernel.org/oldwiki/btrfs.wiki.kernel.org/index.php/using_btrfs_with_multiple_devices.html)':1137 'ask':23 'assur':1035 'aur':317,442 'aur.archlinux.org':447 'aur.archlinux.org/bcache-tools.git':446 'b':665 'back':903,927 'base':327,334,979 'base-devel':326,333 'basic':20 'bcach':284,299,440,451,508,514,664,707,734,897,913,956,966,982,1023,1062 'bcache-super-show':733 'bcache-tool':439,450,896,912,1061 'bcache-tools-1.1-1-x86_64.pkg.tar.zst':923,939 'bcache0':675,792 'bcache1':677,794 'better':636 'bg3':96 'block':973,981 'boot':145,290,645,804 'bottom':418 'boy':89 'btrfs':515,838,842,847 'busi':1077 'buy':63,210 'c':708 'c5066a6c661b':752,770,779 'cach':601,704,714 'call':674 'care':130 'cd':449 'cfdisk':550 'cheap':72,74 'cheapest':201 'choic':953 'chroot':936,1056 'clone':437,445 'command':669,732,762,990,1117 'complic':1027 'compress':859,868,877 'configur':54,512,659,802,942 'confus':170 'copi':910 'cp':922 'creat':840,844,849 'cset.uuid':721,739,745 'ctrl':352,428 'd':698 'd3xter':41 'data':187 'decid':61 'devel':328,335 'devic':1075 'differ':109,152 'distro':270 'done':474,781 'drive':285,520,554,831,1095 'easiest':275 'echo':763,772,1108 'edit':410,945,1107 'editor':951 'efi':647 'els':205 'endless':21 'error':478 'even':607 'ever':14 'everyday':16 'exampl':740,977,1098 'execut':505,988,1115 'f':815 'f2':354 'f3':430 'fast':121 'favor':197 'fc3aac3b':746,764,773 'fifth':888 'figur':48 'filesystem':976 'finish':371 'first':182 'flesystem':983 'follow':891 'formati':581 'found':483 'fouth':511 'g':388 'game':98,222 'gb':586 'get':92,214,241 'gist.github.com':1133 'gist.github.com/hardenedarray/4c1492f537d9785e19406eb5cd991735)[':1132 'git':330,336,444 'go':346,902,926 'got':29 'grep':738 'grub':901,994 'guid':178 'hard':626 'hdd':65,157,212,525,542,568,587 'headach':1029 'hell':172 'help':33,46 'home':867 'hook':969,978 'howev':35 'identifi':523 'ignor':337 'import':195 'induc':1030 'initcpio':986 'insan':165 'inspect':458 'instal':168,280,298,325,489,833,889,919,930,998,1018,1060 'instanc':534 'internet':303,343 'interst':181 'iso':311 'kernel':496,612,1088 'kernel.org':1135 'knew':623 'know':723 'l':696 'last':26,160,895,997 'least':250 'lemmy.ml':39,43,58 'lemmy.ml/comment/5577205)from':38 'lemmy.ml/post/7585833).':57 'lemmy.ml/u/d3xt3r@lemmy.nz)':42 'less':619 'let':529 'like':75,963 'line':415 'linux':4,13,338,993,1020 'list':518 'live':245,306,310 'load':119,142,498 'login':356,431 'lol':894 'look':962 'lost':86 'lot':31 'love':3,12 'ls':295 'lsblk':522,686,784 'lzo':860,869,878 'm':387 'make':287,466,563,573,615,663,671,689,706,984,1003 'make-bcach':662,705 'makepkg':379,469 'mayb':123 'mention':1011 'might':253 'mkdir':863,872,881,885 'mkfs.btrfs':695 'mkfs.ext4':806 'mkfs.vfat':814 'mkinitcpio':899,944,947,991 'modprob':507 'modul':959,965 'mount':318,827,835,854,862,871,880,884 'need':135,373,399,492,641,1058,1084 'new':116 'newli':918 'next':363 'note':1043 'noth':87 'notic':150 'nvme':68 'nvme0n1p1':797 'o':319,856,865,874 'okay':1,656 'old':112 'one':257,564,611,908,1103 'option':846,851 'otherwis':365,649 'output':743 'p':992 'packag':486,915 'pacman':331,937 'pain':1042 'partit':552,565,575,590,598,604,618,630,648,673,798,805,813,823,1008 'partprob':510,1082,1121 'passwd':391 'password':396 'perform':103,198 'pkgbuild':460 'possibl':18,202 'press':351,427 'problem':1047 'proceed':464 'process':369 'pseudo':177 'pseudo-guid':176 'raid':661,690,717 'raid0':25,517,699 'raid10':215 'raid5':231 'realli':45 'reboot':1050 'refer':1127 'reformat':1069 'regist':712,757 'rememb':808,818 'remot':193 'remount':308,320 'repo':443 'requir':100 'right':1009 'root':358,383,858 'run':381 'safe':637 'save':424 'say':531 'sda':1100 'sda1':569 'sdb1':571 'second':240 'see':107,788 'separ':644 'set':394,436 'setup':117,162,190,234,375,718 'show':736,1073,1124 'sinc':378 'size':321 'slow':342 'slower':127 'smallest':256 'sorri':639 'sri':470 'ssd':69,101,113,161,528,547,578,597 'step':364 'stick':247 'stop':1090 'store':185,218 'subvol':857,866,875 'subvolum':839,843,848 'suck':236 'sudo':506,509,921 'super':735 'superus':407 'sure':288,1004,1032 'surpris':8,93 'system':56,307,655,1024 'tell':494,1086 'test':95 'textur':140 'think':263 'third':297 'throw':477 'time':146 'tool':441,452,898,914,1063 'total':77,1039 'tti':349 'tty1':928 'tty3':905 'two':694 'type':294,385,468 'u':938 'udev':980 'uefi':292 'umount':852 'unboot':654 'unless':206 'usb':246 'use':230,266,315,549,558,685,730,760,949,1120 'user':377,390,392,401,419,433,907 'useradd':386 'usual':1001 'uuid':727 'var':876 'visudo':411 'vmliuz':480 'wait':137,366 'want':52,208,278,455,561,1052,1067,1105 'way':627 'week':27 'well':104,122 'whatev':559 'wheel':389 'wiki':893 'wiki.archlinux.org':1129 'wiki.archlinux.org/title/bcache](https://wiki.archlinux.org/title/bcache)[wiki.archlinux.org/title/btrfs](https://wiki.archlinux.org/title/btrfs)[gist.github.com/':1128 'wont':380 'work':254 'worth':1040 'write':174 'wrong':82 'www.phoronix.com':238 'www.phoronix.com/news/btrfs-raid-56-is-bad)':237 'yet':583"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1700146309
    +visibility: "visible             "
    +apId: "https://lemmy.ml/post/8002348"
    +editedAt: DateTimeImmutable @1700319306 {#1693
      date: 2023-11-18 15:55:06.0 +01:00
    }
    +createdAt: DateTimeImmutable @1700059909 {#1550
      date: 2023-11-15 15:51:49.0 +01:00
    }
    +__isInitialized__: true
     …2
  }
]
Attributes
[]
Component
App\Twig\Components\VoteComponent {#3590
  +subject: Proxies\__CG__\App\Entity\Entry {#1592
    +user: Proxies\__CG__\App\Entity\User {#2458
      +avatar: null
      +cover: null
      +email: "Uluganda@lemmy.ml"
      +username: "@Uluganda@lemmy.ml"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1700365066 {#3317
        date: 2023-11-19 04:37:46.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#3320 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#3322 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#3324 …}
      +entries: Doctrine\ORM\PersistentCollection {#3326 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#3328 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#3330 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3332 …}
      +posts: Doctrine\ORM\PersistentCollection {#3334 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#3336 …}
      +postComments: Doctrine\ORM\PersistentCollection {#3338 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#3340 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#3342 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#3344 …}
      +follows: Doctrine\ORM\PersistentCollection {#3346 …}
      +followers: Doctrine\ORM\PersistentCollection {#3348 …}
      +blocks: Doctrine\ORM\PersistentCollection {#3350 …}
      +blockers: Doctrine\ORM\PersistentCollection {#3352 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#3354 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#3356 …}
      +reports: Doctrine\ORM\PersistentCollection {#3358 …}
      +favourites: Doctrine\ORM\PersistentCollection {#3360 …}
      +violations: Doctrine\ORM\PersistentCollection {#3362 …}
      +notifications: Doctrine\ORM\PersistentCollection {#3364 …}
      +awards: Doctrine\ORM\PersistentCollection {#3366 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#3368 …}
      +categories: Doctrine\ORM\PersistentCollection {#3370 …}
      -id: 9933
      -password: "$2y$13$Cd0jic67tC6T7tuaqa7iWewkFHt3J3XyusH8Bh.FZvcZOPIwsBfA6"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#3372 …}
      +apId: "Uluganda@lemmy.ml"
      +apProfileId: "https://lemmy.ml/u/Uluganda"
      +apPublicUrl: "https://lemmy.ml/u/Uluganda"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "Uluganda"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1707245788 {#3318
        date: 2024-02-06 19:56:28.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687567147 {#3319
        date: 2023-06-24 02:39:07.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +magazine: Proxies\__CG__\App\Entity\Magazine {#1579
      +icon: Proxies\__CG__\App\Entity\Image {#2847 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#2826
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#2846 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#2844 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#2849 …}
      +entries: Doctrine\ORM\PersistentCollection {#2850 …}
      +posts: Doctrine\ORM\PersistentCollection {#2853 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#2855 …}
      +bans: Doctrine\ORM\PersistentCollection {#2861 …}
      +reports: Doctrine\ORM\PersistentCollection {#2869 …}
      +badges: Doctrine\ORM\PersistentCollection {#2882 …}
      +logs: Doctrine\ORM\PersistentCollection {#2892 …}
      +awards: Doctrine\ORM\PersistentCollection {#2874 …}
      +categories: Doctrine\ORM\PersistentCollection {#2898 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#2827
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#2828
        date: 2023-11-02 13:51:08.0 +01:00
      }
      +__isInitialized__: true
       …2
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1732 …}
    +slug: "Bcache-is-amazing-Making-HDD-way-faster"
    +title: "Bcache is amazing!: Making HDD way faster!"
    +url: null
    +body: """
      Okay, I love Linux. But I always surprised that I can love Linux ever more everyday. The possibility is basically endless!\n
      \n
      I asked about raid0 last week and got a lot of helpful answers. However, this[ answer ](https://lemmy.ml/comment/5577205)from [d3Xter](https://lemmy.ml/u/d3Xt3r@lemmy.nz) really helped me figures how I actually want to [configure my system](https://lemmy.ml/post/7585833). I decided to buy 2x500GB HDD and 120GB NVME SSD. It’s cheap, very cheap. Like $15 total. If there is anything wrong with them, I lost nothing. But boy did I get surprised. I tested BG3, a game that requires SSD to perform well and I see no difference between my old SSD and my new setup. It loads as fast (well, maybe 10-15s slower, but who cares?), and I do not need to wait for the textures to load, at all. Boot time is amazing. I notice no difference at all between this HDD and my last SSD setup. Which is insane!\n
      \n
      But the installation is confusing as hell. I write this pseudo-guide for anyone intersted.\n
      \n
      FIRST: DO NOT STORE ANY DATA IN THIS SETUP FOR ANYTHING REMOTE TO IMPORTANT!\n
      \n
      I favor performance for the cheapest possible above all else. Unless you want to buy 4 HDD to get raid10, do not store anything other than games and your apps on it. Do not use raid5 in this setup, [it sucks.](https://www.phoronix.com/news/Btrfs-RAID-56-Is-Bad)\n
      \n
      Second: Get yourself an Arch live USB stick with at least 8GB (4 might works, but smallest one I have is 8GB). I think you can use it on other distro, but Arch is the easiest if you want to install IT on the bcache drive. And make sure you booted into UEFI by typing:\n
      \n
      `ls /sys/firmware/efi/efivars/`\n
      \n
      Third: Installing bcache. After you have internet on your live system, remount your live iso so we can use the AUR.\n
      \n
      `mount -o remount,size=8G /run/archiso/cowspace`\n
      \n
      Then, install base-devel and git\n
      \n
      `pacman -S base-devel git --ignore linux`\n
      \n
      If you have slow internet, you can go to 2nd tty by pressing ctrl + alt + f2 and login as root there to do the next step, otherwise wait for the process to finish. We need to setup a user since makepkg wont run on root. So, type:\n
      \n
      `useradd -m -G wheel user && passwd user` and set your password Then we need the user to able to act as superuser. So, we edit `visudo` and add this line at the bottom: `user ALL=(ALL:ALL)ALL` save it and press ctrl + alt + f3, login as user you just set. Clone the bcache-tools AUR repo: `git clone https://aur.archlinux.org/bcache-tools.git && cd bcache-tools`\n
      \n
      If you want you can inspect the PKGBUILD, but we will proceed to make it, type:\n
      \n
      `makepkg -sri`\n
      \n
      Once it is done, it will throw error about vmliuz is not found, but the package itself is installed, you just need to tell the kernel to load it. We can achieve that by executing:\n
      \n
      `sudo modprobe bcache && sudo partprobe`\n
      \n
      Fouth: Configuring the bcache, btrfs, and raid0 List your drive with `lsblk` identify your HDD and your SSD. Let’s say in this instance, we have /dev/sda and /dev/sdb as our HDD and /dev/nvme0n1 as our SSD. I use cfdisk to partition my drive, but you can use whatever you want. I make one partition for both HDD, sda1 and sdb1, and make 3 partitions for my SSD. DO NOT FORMATI IT YET. /dev/sda1 : 500 GB HDD with 500GB partition /dev/sdb1 : same as before /dev/nvme0n1p1 : 118G SSD partition as the cache /dev/nvme0n1p2 : 1G partition as /boot. Even if you have one kernel, do not make a /boot partition less than 1G. I knew it in hard way. /dev/nvme0n1p3 : 200M partition as /boot/efi. Same as before, better safe than sorry. YOU NEED TO HAVE SEPARATE BOOT AND EFI PARTITION, OTHERWISE YOU WILL HAVE AN UNBOOTABLE SYSTEM!\n
      \n
      Okay, now we configure our raid.\n
      \n
      `make-bcache -B /dev/sda1 /dev/sdb1`\n
      \n
      This command will make a partition (?) called bcache0 and bcache1 under both /dev/sdb and /dev/sda if you use\n
      \n
      `lsblk`\n
      \n
      Now, we make raid out of those two.\n
      \n
      `mkfs.btrfs -L ARCHACHED -d raid0 /dev/bcache0 /dev/bcache1`\n
      \n
      Then the cache.\n
      \n
      `make-bcache -C /dev/nvme0n1p1`\n
      \n
      We can register the cache for our raid setup by its cset.uuid. To know what is the uuid, we can use this command.\n
      \n
      `bcache-super-show /dev/nvme0n1p1 |grep cset.uuid`\n
      \n
      Example of the output is:\n
      \n
      `cset.uuid fc3aac3b-9663-4067-88af-c5066a6c661b`\n
      \n
      From that, we can register it by using this command:\n
      \n
      `echo fc3aac3b-9663-4067-88af-c5066a6c661b > /sys/block/bcache0/bcache/attach`\n
      \n
      `echo fc3aac3b-9663-4067-88af-c5066a6c661b > /sys/block/bcache1/bcache/attach`\n
      \n
      Done! If you `lsblk` now, you can see that there is bcache0 and bcache1 under the nvme0n1p1 partition.\n
      \n
      Now, we can configure our boot partition.\n
      \n
      `mkfs.ext4 /dev/nvme0n1p2` (Remember, this is the 1G partition)\n
      \n
      `mkfs.vfat -F 32 /dev/nvme0n1p3` (Remember, this is the 200M partition)\n
      \n
      We can then mount all of those drive to install Arch.\n
      \n
      `mount /dev/bcache0 /mnt`\n
      \n
      `btrfs subvolume create /mnt/root`\n
      \n
      `btrfs subvolume create /mnt/var` (optional)\n
      \n
      `btrfs subvolume create /mnt/home` (optional)\n
      \n
      `umount /mnt`\n
      \n
      `mount /dev/bcache0 -o subvol=root,compress=lzo /mnt/`\n
      \n
      `mount --mkdir /dev/bcache0 -o subvol=home,compress=lzo /mnt/home`\n
      \n
      `mount --mkdir /dev/bcache0 -o subvol=var,compress=lzo /mnt/var`\n
      \n
      `mount --mkdir /dev/nvme0n1p2 /mnt/boot`\n
      \n
      `mount --mkdir /dev/nvme0n1p3 /mnt/boot/efi`\n
      \n
      Fifth: Install Arch Follow arch wiki, lol.\n
      \n
      Last: bcache-tools, mkinitcpio, and grub. Go back to tty3, the user one. And copy the bcache-tools package to your newly installed /mnt\n
      \n
      `sudo cp bcache-tools-1.1-1-x86_64.pkg.tar.zst /mnt`\n
      \n
      Then go back tty1 and install it on you arch-chroot.\n
      \n
      `pacman -U bcache-tools-1.1-1-x86_64.pkg.tar.zst`\n
      \n
      Now, we configure the mkinitcpio. Edit your mkinitcpio by using you editor of choice. And add bcache in in MODULES so it looks like this:\n
      \n
      `MODULES=(bcache)`\n
      \n
      And in HOOKS, add it after block and before filesystem. Example:\n
      \n
      `HOOKS=(base udev block bcache flesystem)`\n
      \n
      Make your initcpio by executing this command:\n
      \n
      `mkinitcpio -p linux`\n
      \n
      Grub is the last. Install it as usual. Just make sure you did the partition right, as mentioned before.\n
      \n
      That’s it. You just install Arch Linux on a bcache system. It’s complicated, and headache inducing for sure, but I assure you it is totally worth that pain.\n
      \n
      Note: If you have problem after you reboot, and want to arch-chroot, you need to install bcache-tools again. If you want to reformat anything and it shows the device as busy after you did the `partprobe`, you need to tell the kernel to stop any activity to the drive. In this example the sda is the one you want to edit.\n
      \n
      `echo 1 > /sys/block/sda/sda1/bcache/stop`\n
      \n
      Now, if you accidentally execute the command, you can use `partprobe` again to show it up.\n
      \n
      Reference: [wiki.archlinux.org/title/bcache](https://wiki.archlinux.org/title/bcache)[wiki.archlinux.org/title/btrfs](https://wiki.archlinux.org/title/btrfs)[gist.github.com/…/4c1492f537d9785e19406eb5cd99173…](https://gist.github.com/HardenedArray/4c1492f537d9785e19406eb5cd991735)[…kernel.org/…/Using_Btrfs_with_Multiple_Devices.h…](https://archive.kernel.org/oldwiki/btrfs.wiki.kernel.org/index.php/Using_Btrfs_with_Multiple_Devices.html)
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 22
    +favouriteCount: 131
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1700152658 {#1526
      date: 2023-11-16 17:37:38.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1727 …}
    +votes: Doctrine\ORM\PersistentCollection {#1733 …}
    +reports: Doctrine\ORM\PersistentCollection {#1719 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1691 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1711 …}
    +badges: Doctrine\ORM\PersistentCollection {#1621 …}
    +children: [
      App\Entity\EntryComment {#1697
        +user: App\Entity\User {#265
          +avatar: null
          +cover: null
          +email: "bitduck@lemmy.ml"
          +username: "@bitduck@lemmy.ml"
          +roles: []
          +followersCount: 0
          +homepage: "front"
          +about: null
          +lastActive: DateTime @1700395689 {#275
            date: 2023-11-19 13:08:09.0 +01:00
          }
          +markedForDeletionAt: null
          +fields: null
          +oauthGithubId: null
          +oauthGoogleId: null
          +oauthFacebookId: null
          +oauthKeycloakId: null
          +hideAdult: true
          +showSubscribedUsers: true
          +showSubscribedMagazines: true
          +showSubscribedDomains: true
          +preferredLanguages: []
          +featuredMagazines: null
          +showProfileSubscriptions: false
          +showProfileFollowings: true
          +markNewComments: false
          +notifyOnNewEntry: false
          +notifyOnNewEntryReply: true
          +notifyOnNewEntryCommentReply: true
          +notifyOnNewPost: false
          +notifyOnNewPostReply: true
          +notifyOnNewPostCommentReply: true
          +addMentionsEntries: false
          +addMentionsPosts: true
          +isBanned: false
          +isVerified: false
          +isDeleted: false
          +isBot: false
          +spamProtection: true
          +customCss: null
          +ignoreMagazinesCustomCss: false
          +moderatorTokens: Doctrine\ORM\PersistentCollection {#253 …}
          +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#249 …}
          +moderatorRequests: Doctrine\ORM\PersistentCollection {#238 …}
          +entries: Doctrine\ORM\PersistentCollection {#196 …}
          +entryVotes: Doctrine\ORM\PersistentCollection {#168 …}
          +entryComments: Doctrine\ORM\PersistentCollection {#141 …}
          +entryCommentVotes: Doctrine\ORM\PersistentCollection {#111 …}
          +posts: Doctrine\ORM\PersistentCollection {#84 …}
          +postVotes: Doctrine\ORM\PersistentCollection {#99 …}
          +postComments: Doctrine\ORM\PersistentCollection {#1863 …}
          +postCommentVotes: Doctrine\ORM\PersistentCollection {#1479 …}
          +subscriptions: Doctrine\ORM\PersistentCollection {#1658 …}
          +subscribedDomains: Doctrine\ORM\PersistentCollection {#1868 …}
          +follows: Doctrine\ORM\PersistentCollection {#1917 …}
          +followers: Doctrine\ORM\PersistentCollection {#1601 …}
          +blocks: Doctrine\ORM\PersistentCollection {#1805 …}
          +blockers: Doctrine\ORM\PersistentCollection {#1810 …}
          +blockedMagazines: Doctrine\ORM\PersistentCollection {#1857 …}
          +blockedDomains: Doctrine\ORM\PersistentCollection {#1860 …}
          +reports: Doctrine\ORM\PersistentCollection {#1791 …}
          +favourites: Doctrine\ORM\PersistentCollection {#2416 …}
          +violations: Doctrine\ORM\PersistentCollection {#1824 …}
          +notifications: Doctrine\ORM\PersistentCollection {#1914 …}
          +awards: Doctrine\ORM\PersistentCollection {#1929 …}
          +subscribedCategories: Doctrine\ORM\PersistentCollection {#1867 …}
          +categories: Doctrine\ORM\PersistentCollection {#1880 …}
          -id: 76975
          -password: "$2y$13$nWTr0Xo0QFv5mDVXtKX71uDGR7vOEEnFx2jZ2jyBp0Q0cMjykForC"
          -totpSecret: null
          -totpBackupCodes: []
          -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1894 …}
          +apId: "bitduck@lemmy.ml"
          +apProfileId: "https://lemmy.ml/u/bitduck"
          +apPublicUrl: "https://lemmy.ml/u/bitduck"
          +apFollowersUrl: null
          +apInboxUrl: "https://lemmy.ml/inbox"
          +apDomain: "lemmy.ml"
          +apPreferredUsername: "bitduck"
          +apDiscoverable: true
          +apManuallyApprovesFollowers: false
          +privateKey: null
          +publicKey: null
          +apFetchedAt: DateTime @1726542633 {#269
            date: 2024-09-17 05:10:33.0 +02:00
          }
          +apDeletedAt: null
          +apTimeoutAt: null
          +visibility: "visible             "
          +createdAt: DateTimeImmutable @1700395689 {#268
            date: 2023-11-19 13:08:09.0 +01:00
          }
        }
        +entry: Proxies\__CG__\App\Entity\Entry {#1592 …2}
        +magazine: Proxies\__CG__\App\Entity\Magazine {#1579 …2}
        +image: null
        +parent: null
        +root: null
        +body: """
          Thanks for writing this! Getting bcache set up the first time can be confusing, so this certainly helps.\n
          \n
          I’ll just drop one warning in here. With a setup very much like described here I’ve had severe data corruption and loss, so please make sure your data is properly and regularly backed up. To me it seemed like almost any unexpected or untimely power off would cause some data loss or significant corruption.
          """
        +lang: "en"
        +isAdult: false
        +favouriteCount: 6
        +score: 0
        +lastActive: DateTime @1700129102 {#1439
          date: 2023-11-16 11:05:02.0 +01:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@Uluganda@lemmy.ml"
        ]
        +children: Doctrine\ORM\PersistentCollection {#1580 …}
        +nested: Doctrine\ORM\PersistentCollection {#1583 …}
        +votes: Doctrine\ORM\PersistentCollection {#1582 …}
        +reports: Doctrine\ORM\PersistentCollection {#1589 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1572 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1666 …}
        -id: 129669
        -bodyTs: "'almost':60 'back':53 'bcach':6 'caus':68 'certain':17 'confus':14 'corrupt':40,74 'data':39,48,70 'describ':33 'drop':22 'first':10 'get':5 'help':18 'like':32,59 'll':20 'loss':42,71 'make':45 'much':31 'one':23 'pleas':44 'power':65 'proper':50 'regular':52 'seem':58 'set':7 'setup':29 'sever':38 'signific':73 'sure':46 'thank':1 'time':11 'unexpect':62 'untim':64 've':36 'warn':24 'would':67 'write':3"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://lemmy.ml/comment/5846844"
        +editedAt: null
        +createdAt: DateTimeImmutable @1700129102 {#1435
          date: 2023-11-16 11:05:02.0 +01:00
        }
        +"title": 129669
      }
    ]
    -id: 13261
    -titleTs: "'amaz':3 'bcach':1 'faster':7 'hdd':5 'make':4 'way':6"
    -bodyTs: "'-15':125 '-4067':748,766,775 '-88':749,767,776 '-9663':747,765,774 '/4c1492f537d9785e19406eb5cd99173':1131 '/bcache-tools.git':448 '/boot':606,617 '/boot/efi':632 '/comment/5577205)from':40 '/dev/bcache0':700,836,855,864,873 '/dev/bcache1':701 '/dev/nvme0n1':544 '/dev/nvme0n1p1':595,709,737 '/dev/nvme0n1p2':602,807,882 '/dev/nvme0n1p3':628,817,886 '/dev/sda':537,682 '/dev/sda1':584,666 '/dev/sdb':539,680 '/dev/sdb1':591,667 '/hardenedarray/4c1492f537d9785e19406eb5cd991735)[':1134 '/mnt':837,853,861,920,924 '/mnt/boot':883 '/mnt/boot/efi':887 '/mnt/home':850,870 '/mnt/root':841 '/mnt/var':845,879 '/news/btrfs-raid-56-is-bad)':239 '/oldwiki/btrfs.wiki.kernel.org/index.php/using_btrfs_with_multiple_devices.html)':1139 '/post/7585833).':59 '/run/archiso/cowspace':323 '/sys/block/bcache0/bcache/attach':771 '/sys/block/bcache1/bcache/attach':780 '/sys/block/sda/sda1/bcache/stop':1110 '/sys/firmware/efi/efivars':296 '/title/bcache](https://wiki.archlinux.org/title/bcache)[wiki.archlinux.org/title/btrfs](https://wiki.archlinux.org/title/btrfs)[gist.github.com/':1130 '/u/d3xt3r@lemmy.nz)':44 '/using_btrfs_with_multiple_devices.h':1136 '1':1109 '10':124 '118g':596 '120gb':67 '15':76 '1g':603,621,812 '200m':629,822 '2nd':348 '2x500gb':64 '3':574 '32':816 '4':211,252 '500':585 '500gb':589 '8g':322 '8gb':251,261 'abl':403 'accident':1114 'achiev':502 'act':405 'activ':1092 'actual':51 'add':413,955,970 'af':751,769,778 'af-c5066a6c661b':750,768,777 'alt':353,429 'alway':7 'amaz':148 'answer':34,37 'anyon':180 'anyth':81,192,219,1070 'app':225 'arch':244,272,834,890,892,935,1019,1055 'arch-chroot':934,1054 'archach':697 'archive.kernel.org':1138 'archive.kernel.org/oldwiki/btrfs.wiki.kernel.org/index.php/using_btrfs_with_multiple_devices.html)':1137 'ask':23 'assur':1035 'aur':317,442 'aur.archlinux.org':447 'aur.archlinux.org/bcache-tools.git':446 'b':665 'back':903,927 'base':327,334,979 'base-devel':326,333 'basic':20 'bcach':284,299,440,451,508,514,664,707,734,897,913,956,966,982,1023,1062 'bcache-super-show':733 'bcache-tool':439,450,896,912,1061 'bcache-tools-1.1-1-x86_64.pkg.tar.zst':923,939 'bcache0':675,792 'bcache1':677,794 'better':636 'bg3':96 'block':973,981 'boot':145,290,645,804 'bottom':418 'boy':89 'btrfs':515,838,842,847 'busi':1077 'buy':63,210 'c':708 'c5066a6c661b':752,770,779 'cach':601,704,714 'call':674 'care':130 'cd':449 'cfdisk':550 'cheap':72,74 'cheapest':201 'choic':953 'chroot':936,1056 'clone':437,445 'command':669,732,762,990,1117 'complic':1027 'compress':859,868,877 'configur':54,512,659,802,942 'confus':170 'copi':910 'cp':922 'creat':840,844,849 'cset.uuid':721,739,745 'ctrl':352,428 'd':698 'd3xter':41 'data':187 'decid':61 'devel':328,335 'devic':1075 'differ':109,152 'distro':270 'done':474,781 'drive':285,520,554,831,1095 'easiest':275 'echo':763,772,1108 'edit':410,945,1107 'editor':951 'efi':647 'els':205 'endless':21 'error':478 'even':607 'ever':14 'everyday':16 'exampl':740,977,1098 'execut':505,988,1115 'f':815 'f2':354 'f3':430 'fast':121 'favor':197 'fc3aac3b':746,764,773 'fifth':888 'figur':48 'filesystem':976 'finish':371 'first':182 'flesystem':983 'follow':891 'formati':581 'found':483 'fouth':511 'g':388 'game':98,222 'gb':586 'get':92,214,241 'gist.github.com':1133 'gist.github.com/hardenedarray/4c1492f537d9785e19406eb5cd991735)[':1132 'git':330,336,444 'go':346,902,926 'got':29 'grep':738 'grub':901,994 'guid':178 'hard':626 'hdd':65,157,212,525,542,568,587 'headach':1029 'hell':172 'help':33,46 'home':867 'hook':969,978 'howev':35 'identifi':523 'ignor':337 'import':195 'induc':1030 'initcpio':986 'insan':165 'inspect':458 'instal':168,280,298,325,489,833,889,919,930,998,1018,1060 'instanc':534 'internet':303,343 'interst':181 'iso':311 'kernel':496,612,1088 'kernel.org':1135 'knew':623 'know':723 'l':696 'last':26,160,895,997 'least':250 'lemmy.ml':39,43,58 'lemmy.ml/comment/5577205)from':38 'lemmy.ml/post/7585833).':57 'lemmy.ml/u/d3xt3r@lemmy.nz)':42 'less':619 'let':529 'like':75,963 'line':415 'linux':4,13,338,993,1020 'list':518 'live':245,306,310 'load':119,142,498 'login':356,431 'lol':894 'look':962 'lost':86 'lot':31 'love':3,12 'ls':295 'lsblk':522,686,784 'lzo':860,869,878 'm':387 'make':287,466,563,573,615,663,671,689,706,984,1003 'make-bcach':662,705 'makepkg':379,469 'mayb':123 'mention':1011 'might':253 'mkdir':863,872,881,885 'mkfs.btrfs':695 'mkfs.ext4':806 'mkfs.vfat':814 'mkinitcpio':899,944,947,991 'modprob':507 'modul':959,965 'mount':318,827,835,854,862,871,880,884 'need':135,373,399,492,641,1058,1084 'new':116 'newli':918 'next':363 'note':1043 'noth':87 'notic':150 'nvme':68 'nvme0n1p1':797 'o':319,856,865,874 'okay':1,656 'old':112 'one':257,564,611,908,1103 'option':846,851 'otherwis':365,649 'output':743 'p':992 'packag':486,915 'pacman':331,937 'pain':1042 'partit':552,565,575,590,598,604,618,630,648,673,798,805,813,823,1008 'partprob':510,1082,1121 'passwd':391 'password':396 'perform':103,198 'pkgbuild':460 'possibl':18,202 'press':351,427 'problem':1047 'proceed':464 'process':369 'pseudo':177 'pseudo-guid':176 'raid':661,690,717 'raid0':25,517,699 'raid10':215 'raid5':231 'realli':45 'reboot':1050 'refer':1127 'reformat':1069 'regist':712,757 'rememb':808,818 'remot':193 'remount':308,320 'repo':443 'requir':100 'right':1009 'root':358,383,858 'run':381 'safe':637 'save':424 'say':531 'sda':1100 'sda1':569 'sdb1':571 'second':240 'see':107,788 'separ':644 'set':394,436 'setup':117,162,190,234,375,718 'show':736,1073,1124 'sinc':378 'size':321 'slow':342 'slower':127 'smallest':256 'sorri':639 'sri':470 'ssd':69,101,113,161,528,547,578,597 'step':364 'stick':247 'stop':1090 'store':185,218 'subvol':857,866,875 'subvolum':839,843,848 'suck':236 'sudo':506,509,921 'super':735 'superus':407 'sure':288,1004,1032 'surpris':8,93 'system':56,307,655,1024 'tell':494,1086 'test':95 'textur':140 'think':263 'third':297 'throw':477 'time':146 'tool':441,452,898,914,1063 'total':77,1039 'tti':349 'tty1':928 'tty3':905 'two':694 'type':294,385,468 'u':938 'udev':980 'uefi':292 'umount':852 'unboot':654 'unless':206 'usb':246 'use':230,266,315,549,558,685,730,760,949,1120 'user':377,390,392,401,419,433,907 'useradd':386 'usual':1001 'uuid':727 'var':876 'visudo':411 'vmliuz':480 'wait':137,366 'want':52,208,278,455,561,1052,1067,1105 'way':627 'week':27 'well':104,122 'whatev':559 'wheel':389 'wiki':893 'wiki.archlinux.org':1129 'wiki.archlinux.org/title/bcache](https://wiki.archlinux.org/title/bcache)[wiki.archlinux.org/title/btrfs](https://wiki.archlinux.org/title/btrfs)[gist.github.com/':1128 'wont':380 'work':254 'worth':1040 'write':174 'wrong':82 'www.phoronix.com':238 'www.phoronix.com/news/btrfs-raid-56-is-bad)':237 'yet':583"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1700146309
    +visibility: "visible             "
    +apId: "https://lemmy.ml/post/8002348"
    +editedAt: DateTimeImmutable @1700319306 {#1693
      date: 2023-11-18 15:55:06.0 +01:00
    }
    +createdAt: DateTimeImmutable @1700059909 {#1550
      date: 2023-11-15 15:51:49.0 +01:00
    }
    +__isInitialized__: true
     …2
  }
  +formDest: "entry"
  +showDownvote: true
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
boost App\Twig\Components\BoostComponent 12.0 MiB 2.14 ms
Input props
[
  "subject" => Proxies\__CG__\App\Entity\Entry {#1592
    +user: Proxies\__CG__\App\Entity\User {#2458
      +avatar: null
      +cover: null
      +email: "Uluganda@lemmy.ml"
      +username: "@Uluganda@lemmy.ml"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1700365066 {#3317
        date: 2023-11-19 04:37:46.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#3320 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#3322 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#3324 …}
      +entries: Doctrine\ORM\PersistentCollection {#3326 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#3328 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#3330 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3332 …}
      +posts: Doctrine\ORM\PersistentCollection {#3334 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#3336 …}
      +postComments: Doctrine\ORM\PersistentCollection {#3338 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#3340 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#3342 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#3344 …}
      +follows: Doctrine\ORM\PersistentCollection {#3346 …}
      +followers: Doctrine\ORM\PersistentCollection {#3348 …}
      +blocks: Doctrine\ORM\PersistentCollection {#3350 …}
      +blockers: Doctrine\ORM\PersistentCollection {#3352 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#3354 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#3356 …}
      +reports: Doctrine\ORM\PersistentCollection {#3358 …}
      +favourites: Doctrine\ORM\PersistentCollection {#3360 …}
      +violations: Doctrine\ORM\PersistentCollection {#3362 …}
      +notifications: Doctrine\ORM\PersistentCollection {#3364 …}
      +awards: Doctrine\ORM\PersistentCollection {#3366 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#3368 …}
      +categories: Doctrine\ORM\PersistentCollection {#3370 …}
      -id: 9933
      -password: "$2y$13$Cd0jic67tC6T7tuaqa7iWewkFHt3J3XyusH8Bh.FZvcZOPIwsBfA6"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#3372 …}
      +apId: "Uluganda@lemmy.ml"
      +apProfileId: "https://lemmy.ml/u/Uluganda"
      +apPublicUrl: "https://lemmy.ml/u/Uluganda"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "Uluganda"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1707245788 {#3318
        date: 2024-02-06 19:56:28.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687567147 {#3319
        date: 2023-06-24 02:39:07.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +magazine: Proxies\__CG__\App\Entity\Magazine {#1579
      +icon: Proxies\__CG__\App\Entity\Image {#2847 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#2826
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#2846 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#2844 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#2849 …}
      +entries: Doctrine\ORM\PersistentCollection {#2850 …}
      +posts: Doctrine\ORM\PersistentCollection {#2853 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#2855 …}
      +bans: Doctrine\ORM\PersistentCollection {#2861 …}
      +reports: Doctrine\ORM\PersistentCollection {#2869 …}
      +badges: Doctrine\ORM\PersistentCollection {#2882 …}
      +logs: Doctrine\ORM\PersistentCollection {#2892 …}
      +awards: Doctrine\ORM\PersistentCollection {#2874 …}
      +categories: Doctrine\ORM\PersistentCollection {#2898 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#2827
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#2828
        date: 2023-11-02 13:51:08.0 +01:00
      }
      +__isInitialized__: true
       …2
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1732 …}
    +slug: "Bcache-is-amazing-Making-HDD-way-faster"
    +title: "Bcache is amazing!: Making HDD way faster!"
    +url: null
    +body: """
      Okay, I love Linux. But I always surprised that I can love Linux ever more everyday. The possibility is basically endless!\n
      \n
      I asked about raid0 last week and got a lot of helpful answers. However, this[ answer ](https://lemmy.ml/comment/5577205)from [d3Xter](https://lemmy.ml/u/d3Xt3r@lemmy.nz) really helped me figures how I actually want to [configure my system](https://lemmy.ml/post/7585833). I decided to buy 2x500GB HDD and 120GB NVME SSD. It’s cheap, very cheap. Like $15 total. If there is anything wrong with them, I lost nothing. But boy did I get surprised. I tested BG3, a game that requires SSD to perform well and I see no difference between my old SSD and my new setup. It loads as fast (well, maybe 10-15s slower, but who cares?), and I do not need to wait for the textures to load, at all. Boot time is amazing. I notice no difference at all between this HDD and my last SSD setup. Which is insane!\n
      \n
      But the installation is confusing as hell. I write this pseudo-guide for anyone intersted.\n
      \n
      FIRST: DO NOT STORE ANY DATA IN THIS SETUP FOR ANYTHING REMOTE TO IMPORTANT!\n
      \n
      I favor performance for the cheapest possible above all else. Unless you want to buy 4 HDD to get raid10, do not store anything other than games and your apps on it. Do not use raid5 in this setup, [it sucks.](https://www.phoronix.com/news/Btrfs-RAID-56-Is-Bad)\n
      \n
      Second: Get yourself an Arch live USB stick with at least 8GB (4 might works, but smallest one I have is 8GB). I think you can use it on other distro, but Arch is the easiest if you want to install IT on the bcache drive. And make sure you booted into UEFI by typing:\n
      \n
      `ls /sys/firmware/efi/efivars/`\n
      \n
      Third: Installing bcache. After you have internet on your live system, remount your live iso so we can use the AUR.\n
      \n
      `mount -o remount,size=8G /run/archiso/cowspace`\n
      \n
      Then, install base-devel and git\n
      \n
      `pacman -S base-devel git --ignore linux`\n
      \n
      If you have slow internet, you can go to 2nd tty by pressing ctrl + alt + f2 and login as root there to do the next step, otherwise wait for the process to finish. We need to setup a user since makepkg wont run on root. So, type:\n
      \n
      `useradd -m -G wheel user && passwd user` and set your password Then we need the user to able to act as superuser. So, we edit `visudo` and add this line at the bottom: `user ALL=(ALL:ALL)ALL` save it and press ctrl + alt + f3, login as user you just set. Clone the bcache-tools AUR repo: `git clone https://aur.archlinux.org/bcache-tools.git && cd bcache-tools`\n
      \n
      If you want you can inspect the PKGBUILD, but we will proceed to make it, type:\n
      \n
      `makepkg -sri`\n
      \n
      Once it is done, it will throw error about vmliuz is not found, but the package itself is installed, you just need to tell the kernel to load it. We can achieve that by executing:\n
      \n
      `sudo modprobe bcache && sudo partprobe`\n
      \n
      Fouth: Configuring the bcache, btrfs, and raid0 List your drive with `lsblk` identify your HDD and your SSD. Let’s say in this instance, we have /dev/sda and /dev/sdb as our HDD and /dev/nvme0n1 as our SSD. I use cfdisk to partition my drive, but you can use whatever you want. I make one partition for both HDD, sda1 and sdb1, and make 3 partitions for my SSD. DO NOT FORMATI IT YET. /dev/sda1 : 500 GB HDD with 500GB partition /dev/sdb1 : same as before /dev/nvme0n1p1 : 118G SSD partition as the cache /dev/nvme0n1p2 : 1G partition as /boot. Even if you have one kernel, do not make a /boot partition less than 1G. I knew it in hard way. /dev/nvme0n1p3 : 200M partition as /boot/efi. Same as before, better safe than sorry. YOU NEED TO HAVE SEPARATE BOOT AND EFI PARTITION, OTHERWISE YOU WILL HAVE AN UNBOOTABLE SYSTEM!\n
      \n
      Okay, now we configure our raid.\n
      \n
      `make-bcache -B /dev/sda1 /dev/sdb1`\n
      \n
      This command will make a partition (?) called bcache0 and bcache1 under both /dev/sdb and /dev/sda if you use\n
      \n
      `lsblk`\n
      \n
      Now, we make raid out of those two.\n
      \n
      `mkfs.btrfs -L ARCHACHED -d raid0 /dev/bcache0 /dev/bcache1`\n
      \n
      Then the cache.\n
      \n
      `make-bcache -C /dev/nvme0n1p1`\n
      \n
      We can register the cache for our raid setup by its cset.uuid. To know what is the uuid, we can use this command.\n
      \n
      `bcache-super-show /dev/nvme0n1p1 |grep cset.uuid`\n
      \n
      Example of the output is:\n
      \n
      `cset.uuid fc3aac3b-9663-4067-88af-c5066a6c661b`\n
      \n
      From that, we can register it by using this command:\n
      \n
      `echo fc3aac3b-9663-4067-88af-c5066a6c661b > /sys/block/bcache0/bcache/attach`\n
      \n
      `echo fc3aac3b-9663-4067-88af-c5066a6c661b > /sys/block/bcache1/bcache/attach`\n
      \n
      Done! If you `lsblk` now, you can see that there is bcache0 and bcache1 under the nvme0n1p1 partition.\n
      \n
      Now, we can configure our boot partition.\n
      \n
      `mkfs.ext4 /dev/nvme0n1p2` (Remember, this is the 1G partition)\n
      \n
      `mkfs.vfat -F 32 /dev/nvme0n1p3` (Remember, this is the 200M partition)\n
      \n
      We can then mount all of those drive to install Arch.\n
      \n
      `mount /dev/bcache0 /mnt`\n
      \n
      `btrfs subvolume create /mnt/root`\n
      \n
      `btrfs subvolume create /mnt/var` (optional)\n
      \n
      `btrfs subvolume create /mnt/home` (optional)\n
      \n
      `umount /mnt`\n
      \n
      `mount /dev/bcache0 -o subvol=root,compress=lzo /mnt/`\n
      \n
      `mount --mkdir /dev/bcache0 -o subvol=home,compress=lzo /mnt/home`\n
      \n
      `mount --mkdir /dev/bcache0 -o subvol=var,compress=lzo /mnt/var`\n
      \n
      `mount --mkdir /dev/nvme0n1p2 /mnt/boot`\n
      \n
      `mount --mkdir /dev/nvme0n1p3 /mnt/boot/efi`\n
      \n
      Fifth: Install Arch Follow arch wiki, lol.\n
      \n
      Last: bcache-tools, mkinitcpio, and grub. Go back to tty3, the user one. And copy the bcache-tools package to your newly installed /mnt\n
      \n
      `sudo cp bcache-tools-1.1-1-x86_64.pkg.tar.zst /mnt`\n
      \n
      Then go back tty1 and install it on you arch-chroot.\n
      \n
      `pacman -U bcache-tools-1.1-1-x86_64.pkg.tar.zst`\n
      \n
      Now, we configure the mkinitcpio. Edit your mkinitcpio by using you editor of choice. And add bcache in in MODULES so it looks like this:\n
      \n
      `MODULES=(bcache)`\n
      \n
      And in HOOKS, add it after block and before filesystem. Example:\n
      \n
      `HOOKS=(base udev block bcache flesystem)`\n
      \n
      Make your initcpio by executing this command:\n
      \n
      `mkinitcpio -p linux`\n
      \n
      Grub is the last. Install it as usual. Just make sure you did the partition right, as mentioned before.\n
      \n
      That’s it. You just install Arch Linux on a bcache system. It’s complicated, and headache inducing for sure, but I assure you it is totally worth that pain.\n
      \n
      Note: If you have problem after you reboot, and want to arch-chroot, you need to install bcache-tools again. If you want to reformat anything and it shows the device as busy after you did the `partprobe`, you need to tell the kernel to stop any activity to the drive. In this example the sda is the one you want to edit.\n
      \n
      `echo 1 > /sys/block/sda/sda1/bcache/stop`\n
      \n
      Now, if you accidentally execute the command, you can use `partprobe` again to show it up.\n
      \n
      Reference: [wiki.archlinux.org/title/bcache](https://wiki.archlinux.org/title/bcache)[wiki.archlinux.org/title/btrfs](https://wiki.archlinux.org/title/btrfs)[gist.github.com/…/4c1492f537d9785e19406eb5cd99173…](https://gist.github.com/HardenedArray/4c1492f537d9785e19406eb5cd991735)[…kernel.org/…/Using_Btrfs_with_Multiple_Devices.h…](https://archive.kernel.org/oldwiki/btrfs.wiki.kernel.org/index.php/Using_Btrfs_with_Multiple_Devices.html)
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 22
    +favouriteCount: 131
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1700152658 {#1526
      date: 2023-11-16 17:37:38.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1727 …}
    +votes: Doctrine\ORM\PersistentCollection {#1733 …}
    +reports: Doctrine\ORM\PersistentCollection {#1719 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1691 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1711 …}
    +badges: Doctrine\ORM\PersistentCollection {#1621 …}
    +children: [
      App\Entity\EntryComment {#1697
        +user: App\Entity\User {#265
          +avatar: null
          +cover: null
          +email: "bitduck@lemmy.ml"
          +username: "@bitduck@lemmy.ml"
          +roles: []
          +followersCount: 0
          +homepage: "front"
          +about: null
          +lastActive: DateTime @1700395689 {#275
            date: 2023-11-19 13:08:09.0 +01:00
          }
          +markedForDeletionAt: null
          +fields: null
          +oauthGithubId: null
          +oauthGoogleId: null
          +oauthFacebookId: null
          +oauthKeycloakId: null
          +hideAdult: true
          +showSubscribedUsers: true
          +showSubscribedMagazines: true
          +showSubscribedDomains: true
          +preferredLanguages: []
          +featuredMagazines: null
          +showProfileSubscriptions: false
          +showProfileFollowings: true
          +markNewComments: false
          +notifyOnNewEntry: false
          +notifyOnNewEntryReply: true
          +notifyOnNewEntryCommentReply: true
          +notifyOnNewPost: false
          +notifyOnNewPostReply: true
          +notifyOnNewPostCommentReply: true
          +addMentionsEntries: false
          +addMentionsPosts: true
          +isBanned: false
          +isVerified: false
          +isDeleted: false
          +isBot: false
          +spamProtection: true
          +customCss: null
          +ignoreMagazinesCustomCss: false
          +moderatorTokens: Doctrine\ORM\PersistentCollection {#253 …}
          +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#249 …}
          +moderatorRequests: Doctrine\ORM\PersistentCollection {#238 …}
          +entries: Doctrine\ORM\PersistentCollection {#196 …}
          +entryVotes: Doctrine\ORM\PersistentCollection {#168 …}
          +entryComments: Doctrine\ORM\PersistentCollection {#141 …}
          +entryCommentVotes: Doctrine\ORM\PersistentCollection {#111 …}
          +posts: Doctrine\ORM\PersistentCollection {#84 …}
          +postVotes: Doctrine\ORM\PersistentCollection {#99 …}
          +postComments: Doctrine\ORM\PersistentCollection {#1863 …}
          +postCommentVotes: Doctrine\ORM\PersistentCollection {#1479 …}
          +subscriptions: Doctrine\ORM\PersistentCollection {#1658 …}
          +subscribedDomains: Doctrine\ORM\PersistentCollection {#1868 …}
          +follows: Doctrine\ORM\PersistentCollection {#1917 …}
          +followers: Doctrine\ORM\PersistentCollection {#1601 …}
          +blocks: Doctrine\ORM\PersistentCollection {#1805 …}
          +blockers: Doctrine\ORM\PersistentCollection {#1810 …}
          +blockedMagazines: Doctrine\ORM\PersistentCollection {#1857 …}
          +blockedDomains: Doctrine\ORM\PersistentCollection {#1860 …}
          +reports: Doctrine\ORM\PersistentCollection {#1791 …}
          +favourites: Doctrine\ORM\PersistentCollection {#2416 …}
          +violations: Doctrine\ORM\PersistentCollection {#1824 …}
          +notifications: Doctrine\ORM\PersistentCollection {#1914 …}
          +awards: Doctrine\ORM\PersistentCollection {#1929 …}
          +subscribedCategories: Doctrine\ORM\PersistentCollection {#1867 …}
          +categories: Doctrine\ORM\PersistentCollection {#1880 …}
          -id: 76975
          -password: "$2y$13$nWTr0Xo0QFv5mDVXtKX71uDGR7vOEEnFx2jZ2jyBp0Q0cMjykForC"
          -totpSecret: null
          -totpBackupCodes: []
          -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1894 …}
          +apId: "bitduck@lemmy.ml"
          +apProfileId: "https://lemmy.ml/u/bitduck"
          +apPublicUrl: "https://lemmy.ml/u/bitduck"
          +apFollowersUrl: null
          +apInboxUrl: "https://lemmy.ml/inbox"
          +apDomain: "lemmy.ml"
          +apPreferredUsername: "bitduck"
          +apDiscoverable: true
          +apManuallyApprovesFollowers: false
          +privateKey: null
          +publicKey: null
          +apFetchedAt: DateTime @1726542633 {#269
            date: 2024-09-17 05:10:33.0 +02:00
          }
          +apDeletedAt: null
          +apTimeoutAt: null
          +visibility: "visible             "
          +createdAt: DateTimeImmutable @1700395689 {#268
            date: 2023-11-19 13:08:09.0 +01:00
          }
        }
        +entry: Proxies\__CG__\App\Entity\Entry {#1592 …2}
        +magazine: Proxies\__CG__\App\Entity\Magazine {#1579 …2}
        +image: null
        +parent: null
        +root: null
        +body: """
          Thanks for writing this! Getting bcache set up the first time can be confusing, so this certainly helps.\n
          \n
          I’ll just drop one warning in here. With a setup very much like described here I’ve had severe data corruption and loss, so please make sure your data is properly and regularly backed up. To me it seemed like almost any unexpected or untimely power off would cause some data loss or significant corruption.
          """
        +lang: "en"
        +isAdult: false
        +favouriteCount: 6
        +score: 0
        +lastActive: DateTime @1700129102 {#1439
          date: 2023-11-16 11:05:02.0 +01:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@Uluganda@lemmy.ml"
        ]
        +children: Doctrine\ORM\PersistentCollection {#1580 …}
        +nested: Doctrine\ORM\PersistentCollection {#1583 …}
        +votes: Doctrine\ORM\PersistentCollection {#1582 …}
        +reports: Doctrine\ORM\PersistentCollection {#1589 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1572 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1666 …}
        -id: 129669
        -bodyTs: "'almost':60 'back':53 'bcach':6 'caus':68 'certain':17 'confus':14 'corrupt':40,74 'data':39,48,70 'describ':33 'drop':22 'first':10 'get':5 'help':18 'like':32,59 'll':20 'loss':42,71 'make':45 'much':31 'one':23 'pleas':44 'power':65 'proper':50 'regular':52 'seem':58 'set':7 'setup':29 'sever':38 'signific':73 'sure':46 'thank':1 'time':11 'unexpect':62 'untim':64 've':36 'warn':24 'would':67 'write':3"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://lemmy.ml/comment/5846844"
        +editedAt: null
        +createdAt: DateTimeImmutable @1700129102 {#1435
          date: 2023-11-16 11:05:02.0 +01:00
        }
        +"title": 129669
      }
    ]
    -id: 13261
    -titleTs: "'amaz':3 'bcach':1 'faster':7 'hdd':5 'make':4 'way':6"
    -bodyTs: "'-15':125 '-4067':748,766,775 '-88':749,767,776 '-9663':747,765,774 '/4c1492f537d9785e19406eb5cd99173':1131 '/bcache-tools.git':448 '/boot':606,617 '/boot/efi':632 '/comment/5577205)from':40 '/dev/bcache0':700,836,855,864,873 '/dev/bcache1':701 '/dev/nvme0n1':544 '/dev/nvme0n1p1':595,709,737 '/dev/nvme0n1p2':602,807,882 '/dev/nvme0n1p3':628,817,886 '/dev/sda':537,682 '/dev/sda1':584,666 '/dev/sdb':539,680 '/dev/sdb1':591,667 '/hardenedarray/4c1492f537d9785e19406eb5cd991735)[':1134 '/mnt':837,853,861,920,924 '/mnt/boot':883 '/mnt/boot/efi':887 '/mnt/home':850,870 '/mnt/root':841 '/mnt/var':845,879 '/news/btrfs-raid-56-is-bad)':239 '/oldwiki/btrfs.wiki.kernel.org/index.php/using_btrfs_with_multiple_devices.html)':1139 '/post/7585833).':59 '/run/archiso/cowspace':323 '/sys/block/bcache0/bcache/attach':771 '/sys/block/bcache1/bcache/attach':780 '/sys/block/sda/sda1/bcache/stop':1110 '/sys/firmware/efi/efivars':296 '/title/bcache](https://wiki.archlinux.org/title/bcache)[wiki.archlinux.org/title/btrfs](https://wiki.archlinux.org/title/btrfs)[gist.github.com/':1130 '/u/d3xt3r@lemmy.nz)':44 '/using_btrfs_with_multiple_devices.h':1136 '1':1109 '10':124 '118g':596 '120gb':67 '15':76 '1g':603,621,812 '200m':629,822 '2nd':348 '2x500gb':64 '3':574 '32':816 '4':211,252 '500':585 '500gb':589 '8g':322 '8gb':251,261 'abl':403 'accident':1114 'achiev':502 'act':405 'activ':1092 'actual':51 'add':413,955,970 'af':751,769,778 'af-c5066a6c661b':750,768,777 'alt':353,429 'alway':7 'amaz':148 'answer':34,37 'anyon':180 'anyth':81,192,219,1070 'app':225 'arch':244,272,834,890,892,935,1019,1055 'arch-chroot':934,1054 'archach':697 'archive.kernel.org':1138 'archive.kernel.org/oldwiki/btrfs.wiki.kernel.org/index.php/using_btrfs_with_multiple_devices.html)':1137 'ask':23 'assur':1035 'aur':317,442 'aur.archlinux.org':447 'aur.archlinux.org/bcache-tools.git':446 'b':665 'back':903,927 'base':327,334,979 'base-devel':326,333 'basic':20 'bcach':284,299,440,451,508,514,664,707,734,897,913,956,966,982,1023,1062 'bcache-super-show':733 'bcache-tool':439,450,896,912,1061 'bcache-tools-1.1-1-x86_64.pkg.tar.zst':923,939 'bcache0':675,792 'bcache1':677,794 'better':636 'bg3':96 'block':973,981 'boot':145,290,645,804 'bottom':418 'boy':89 'btrfs':515,838,842,847 'busi':1077 'buy':63,210 'c':708 'c5066a6c661b':752,770,779 'cach':601,704,714 'call':674 'care':130 'cd':449 'cfdisk':550 'cheap':72,74 'cheapest':201 'choic':953 'chroot':936,1056 'clone':437,445 'command':669,732,762,990,1117 'complic':1027 'compress':859,868,877 'configur':54,512,659,802,942 'confus':170 'copi':910 'cp':922 'creat':840,844,849 'cset.uuid':721,739,745 'ctrl':352,428 'd':698 'd3xter':41 'data':187 'decid':61 'devel':328,335 'devic':1075 'differ':109,152 'distro':270 'done':474,781 'drive':285,520,554,831,1095 'easiest':275 'echo':763,772,1108 'edit':410,945,1107 'editor':951 'efi':647 'els':205 'endless':21 'error':478 'even':607 'ever':14 'everyday':16 'exampl':740,977,1098 'execut':505,988,1115 'f':815 'f2':354 'f3':430 'fast':121 'favor':197 'fc3aac3b':746,764,773 'fifth':888 'figur':48 'filesystem':976 'finish':371 'first':182 'flesystem':983 'follow':891 'formati':581 'found':483 'fouth':511 'g':388 'game':98,222 'gb':586 'get':92,214,241 'gist.github.com':1133 'gist.github.com/hardenedarray/4c1492f537d9785e19406eb5cd991735)[':1132 'git':330,336,444 'go':346,902,926 'got':29 'grep':738 'grub':901,994 'guid':178 'hard':626 'hdd':65,157,212,525,542,568,587 'headach':1029 'hell':172 'help':33,46 'home':867 'hook':969,978 'howev':35 'identifi':523 'ignor':337 'import':195 'induc':1030 'initcpio':986 'insan':165 'inspect':458 'instal':168,280,298,325,489,833,889,919,930,998,1018,1060 'instanc':534 'internet':303,343 'interst':181 'iso':311 'kernel':496,612,1088 'kernel.org':1135 'knew':623 'know':723 'l':696 'last':26,160,895,997 'least':250 'lemmy.ml':39,43,58 'lemmy.ml/comment/5577205)from':38 'lemmy.ml/post/7585833).':57 'lemmy.ml/u/d3xt3r@lemmy.nz)':42 'less':619 'let':529 'like':75,963 'line':415 'linux':4,13,338,993,1020 'list':518 'live':245,306,310 'load':119,142,498 'login':356,431 'lol':894 'look':962 'lost':86 'lot':31 'love':3,12 'ls':295 'lsblk':522,686,784 'lzo':860,869,878 'm':387 'make':287,466,563,573,615,663,671,689,706,984,1003 'make-bcach':662,705 'makepkg':379,469 'mayb':123 'mention':1011 'might':253 'mkdir':863,872,881,885 'mkfs.btrfs':695 'mkfs.ext4':806 'mkfs.vfat':814 'mkinitcpio':899,944,947,991 'modprob':507 'modul':959,965 'mount':318,827,835,854,862,871,880,884 'need':135,373,399,492,641,1058,1084 'new':116 'newli':918 'next':363 'note':1043 'noth':87 'notic':150 'nvme':68 'nvme0n1p1':797 'o':319,856,865,874 'okay':1,656 'old':112 'one':257,564,611,908,1103 'option':846,851 'otherwis':365,649 'output':743 'p':992 'packag':486,915 'pacman':331,937 'pain':1042 'partit':552,565,575,590,598,604,618,630,648,673,798,805,813,823,1008 'partprob':510,1082,1121 'passwd':391 'password':396 'perform':103,198 'pkgbuild':460 'possibl':18,202 'press':351,427 'problem':1047 'proceed':464 'process':369 'pseudo':177 'pseudo-guid':176 'raid':661,690,717 'raid0':25,517,699 'raid10':215 'raid5':231 'realli':45 'reboot':1050 'refer':1127 'reformat':1069 'regist':712,757 'rememb':808,818 'remot':193 'remount':308,320 'repo':443 'requir':100 'right':1009 'root':358,383,858 'run':381 'safe':637 'save':424 'say':531 'sda':1100 'sda1':569 'sdb1':571 'second':240 'see':107,788 'separ':644 'set':394,436 'setup':117,162,190,234,375,718 'show':736,1073,1124 'sinc':378 'size':321 'slow':342 'slower':127 'smallest':256 'sorri':639 'sri':470 'ssd':69,101,113,161,528,547,578,597 'step':364 'stick':247 'stop':1090 'store':185,218 'subvol':857,866,875 'subvolum':839,843,848 'suck':236 'sudo':506,509,921 'super':735 'superus':407 'sure':288,1004,1032 'surpris':8,93 'system':56,307,655,1024 'tell':494,1086 'test':95 'textur':140 'think':263 'third':297 'throw':477 'time':146 'tool':441,452,898,914,1063 'total':77,1039 'tti':349 'tty1':928 'tty3':905 'two':694 'type':294,385,468 'u':938 'udev':980 'uefi':292 'umount':852 'unboot':654 'unless':206 'usb':246 'use':230,266,315,549,558,685,730,760,949,1120 'user':377,390,392,401,419,433,907 'useradd':386 'usual':1001 'uuid':727 'var':876 'visudo':411 'vmliuz':480 'wait':137,366 'want':52,208,278,455,561,1052,1067,1105 'way':627 'week':27 'well':104,122 'whatev':559 'wheel':389 'wiki':893 'wiki.archlinux.org':1129 'wiki.archlinux.org/title/bcache](https://wiki.archlinux.org/title/bcache)[wiki.archlinux.org/title/btrfs](https://wiki.archlinux.org/title/btrfs)[gist.github.com/':1128 'wont':380 'work':254 'worth':1040 'write':174 'wrong':82 'www.phoronix.com':238 'www.phoronix.com/news/btrfs-raid-56-is-bad)':237 'yet':583"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1700146309
    +visibility: "visible             "
    +apId: "https://lemmy.ml/post/8002348"
    +editedAt: DateTimeImmutable @1700319306 {#1693
      date: 2023-11-18 15:55:06.0 +01:00
    }
    +createdAt: DateTimeImmutable @1700059909 {#1550
      date: 2023-11-15 15:51:49.0 +01:00
    }
    +__isInitialized__: true
     …2
  }
]
Attributes
[]
Component
App\Twig\Components\BoostComponent {#3655
  +formDest: "entry"
  +subject: Proxies\__CG__\App\Entity\Entry {#1592
    +user: Proxies\__CG__\App\Entity\User {#2458
      +avatar: null
      +cover: null
      +email: "Uluganda@lemmy.ml"
      +username: "@Uluganda@lemmy.ml"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1700365066 {#3317
        date: 2023-11-19 04:37:46.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#3320 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#3322 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#3324 …}
      +entries: Doctrine\ORM\PersistentCollection {#3326 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#3328 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#3330 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3332 …}
      +posts: Doctrine\ORM\PersistentCollection {#3334 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#3336 …}
      +postComments: Doctrine\ORM\PersistentCollection {#3338 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#3340 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#3342 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#3344 …}
      +follows: Doctrine\ORM\PersistentCollection {#3346 …}
      +followers: Doctrine\ORM\PersistentCollection {#3348 …}
      +blocks: Doctrine\ORM\PersistentCollection {#3350 …}
      +blockers: Doctrine\ORM\PersistentCollection {#3352 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#3354 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#3356 …}
      +reports: Doctrine\ORM\PersistentCollection {#3358 …}
      +favourites: Doctrine\ORM\PersistentCollection {#3360 …}
      +violations: Doctrine\ORM\PersistentCollection {#3362 …}
      +notifications: Doctrine\ORM\PersistentCollection {#3364 …}
      +awards: Doctrine\ORM\PersistentCollection {#3366 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#3368 …}
      +categories: Doctrine\ORM\PersistentCollection {#3370 …}
      -id: 9933
      -password: "$2y$13$Cd0jic67tC6T7tuaqa7iWewkFHt3J3XyusH8Bh.FZvcZOPIwsBfA6"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#3372 …}
      +apId: "Uluganda@lemmy.ml"
      +apProfileId: "https://lemmy.ml/u/Uluganda"
      +apPublicUrl: "https://lemmy.ml/u/Uluganda"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "Uluganda"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1707245788 {#3318
        date: 2024-02-06 19:56:28.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687567147 {#3319
        date: 2023-06-24 02:39:07.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +magazine: Proxies\__CG__\App\Entity\Magazine {#1579
      +icon: Proxies\__CG__\App\Entity\Image {#2847 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#2826
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#2846 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#2844 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#2849 …}
      +entries: Doctrine\ORM\PersistentCollection {#2850 …}
      +posts: Doctrine\ORM\PersistentCollection {#2853 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#2855 …}
      +bans: Doctrine\ORM\PersistentCollection {#2861 …}
      +reports: Doctrine\ORM\PersistentCollection {#2869 …}
      +badges: Doctrine\ORM\PersistentCollection {#2882 …}
      +logs: Doctrine\ORM\PersistentCollection {#2892 …}
      +awards: Doctrine\ORM\PersistentCollection {#2874 …}
      +categories: Doctrine\ORM\PersistentCollection {#2898 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#2827
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#2828
        date: 2023-11-02 13:51:08.0 +01:00
      }
      +__isInitialized__: true
       …2
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1732 …}
    +slug: "Bcache-is-amazing-Making-HDD-way-faster"
    +title: "Bcache is amazing!: Making HDD way faster!"
    +url: null
    +body: """
      Okay, I love Linux. But I always surprised that I can love Linux ever more everyday. The possibility is basically endless!\n
      \n
      I asked about raid0 last week and got a lot of helpful answers. However, this[ answer ](https://lemmy.ml/comment/5577205)from [d3Xter](https://lemmy.ml/u/d3Xt3r@lemmy.nz) really helped me figures how I actually want to [configure my system](https://lemmy.ml/post/7585833). I decided to buy 2x500GB HDD and 120GB NVME SSD. It’s cheap, very cheap. Like $15 total. If there is anything wrong with them, I lost nothing. But boy did I get surprised. I tested BG3, a game that requires SSD to perform well and I see no difference between my old SSD and my new setup. It loads as fast (well, maybe 10-15s slower, but who cares?), and I do not need to wait for the textures to load, at all. Boot time is amazing. I notice no difference at all between this HDD and my last SSD setup. Which is insane!\n
      \n
      But the installation is confusing as hell. I write this pseudo-guide for anyone intersted.\n
      \n
      FIRST: DO NOT STORE ANY DATA IN THIS SETUP FOR ANYTHING REMOTE TO IMPORTANT!\n
      \n
      I favor performance for the cheapest possible above all else. Unless you want to buy 4 HDD to get raid10, do not store anything other than games and your apps on it. Do not use raid5 in this setup, [it sucks.](https://www.phoronix.com/news/Btrfs-RAID-56-Is-Bad)\n
      \n
      Second: Get yourself an Arch live USB stick with at least 8GB (4 might works, but smallest one I have is 8GB). I think you can use it on other distro, but Arch is the easiest if you want to install IT on the bcache drive. And make sure you booted into UEFI by typing:\n
      \n
      `ls /sys/firmware/efi/efivars/`\n
      \n
      Third: Installing bcache. After you have internet on your live system, remount your live iso so we can use the AUR.\n
      \n
      `mount -o remount,size=8G /run/archiso/cowspace`\n
      \n
      Then, install base-devel and git\n
      \n
      `pacman -S base-devel git --ignore linux`\n
      \n
      If you have slow internet, you can go to 2nd tty by pressing ctrl + alt + f2 and login as root there to do the next step, otherwise wait for the process to finish. We need to setup a user since makepkg wont run on root. So, type:\n
      \n
      `useradd -m -G wheel user && passwd user` and set your password Then we need the user to able to act as superuser. So, we edit `visudo` and add this line at the bottom: `user ALL=(ALL:ALL)ALL` save it and press ctrl + alt + f3, login as user you just set. Clone the bcache-tools AUR repo: `git clone https://aur.archlinux.org/bcache-tools.git && cd bcache-tools`\n
      \n
      If you want you can inspect the PKGBUILD, but we will proceed to make it, type:\n
      \n
      `makepkg -sri`\n
      \n
      Once it is done, it will throw error about vmliuz is not found, but the package itself is installed, you just need to tell the kernel to load it. We can achieve that by executing:\n
      \n
      `sudo modprobe bcache && sudo partprobe`\n
      \n
      Fouth: Configuring the bcache, btrfs, and raid0 List your drive with `lsblk` identify your HDD and your SSD. Let’s say in this instance, we have /dev/sda and /dev/sdb as our HDD and /dev/nvme0n1 as our SSD. I use cfdisk to partition my drive, but you can use whatever you want. I make one partition for both HDD, sda1 and sdb1, and make 3 partitions for my SSD. DO NOT FORMATI IT YET. /dev/sda1 : 500 GB HDD with 500GB partition /dev/sdb1 : same as before /dev/nvme0n1p1 : 118G SSD partition as the cache /dev/nvme0n1p2 : 1G partition as /boot. Even if you have one kernel, do not make a /boot partition less than 1G. I knew it in hard way. /dev/nvme0n1p3 : 200M partition as /boot/efi. Same as before, better safe than sorry. YOU NEED TO HAVE SEPARATE BOOT AND EFI PARTITION, OTHERWISE YOU WILL HAVE AN UNBOOTABLE SYSTEM!\n
      \n
      Okay, now we configure our raid.\n
      \n
      `make-bcache -B /dev/sda1 /dev/sdb1`\n
      \n
      This command will make a partition (?) called bcache0 and bcache1 under both /dev/sdb and /dev/sda if you use\n
      \n
      `lsblk`\n
      \n
      Now, we make raid out of those two.\n
      \n
      `mkfs.btrfs -L ARCHACHED -d raid0 /dev/bcache0 /dev/bcache1`\n
      \n
      Then the cache.\n
      \n
      `make-bcache -C /dev/nvme0n1p1`\n
      \n
      We can register the cache for our raid setup by its cset.uuid. To know what is the uuid, we can use this command.\n
      \n
      `bcache-super-show /dev/nvme0n1p1 |grep cset.uuid`\n
      \n
      Example of the output is:\n
      \n
      `cset.uuid fc3aac3b-9663-4067-88af-c5066a6c661b`\n
      \n
      From that, we can register it by using this command:\n
      \n
      `echo fc3aac3b-9663-4067-88af-c5066a6c661b > /sys/block/bcache0/bcache/attach`\n
      \n
      `echo fc3aac3b-9663-4067-88af-c5066a6c661b > /sys/block/bcache1/bcache/attach`\n
      \n
      Done! If you `lsblk` now, you can see that there is bcache0 and bcache1 under the nvme0n1p1 partition.\n
      \n
      Now, we can configure our boot partition.\n
      \n
      `mkfs.ext4 /dev/nvme0n1p2` (Remember, this is the 1G partition)\n
      \n
      `mkfs.vfat -F 32 /dev/nvme0n1p3` (Remember, this is the 200M partition)\n
      \n
      We can then mount all of those drive to install Arch.\n
      \n
      `mount /dev/bcache0 /mnt`\n
      \n
      `btrfs subvolume create /mnt/root`\n
      \n
      `btrfs subvolume create /mnt/var` (optional)\n
      \n
      `btrfs subvolume create /mnt/home` (optional)\n
      \n
      `umount /mnt`\n
      \n
      `mount /dev/bcache0 -o subvol=root,compress=lzo /mnt/`\n
      \n
      `mount --mkdir /dev/bcache0 -o subvol=home,compress=lzo /mnt/home`\n
      \n
      `mount --mkdir /dev/bcache0 -o subvol=var,compress=lzo /mnt/var`\n
      \n
      `mount --mkdir /dev/nvme0n1p2 /mnt/boot`\n
      \n
      `mount --mkdir /dev/nvme0n1p3 /mnt/boot/efi`\n
      \n
      Fifth: Install Arch Follow arch wiki, lol.\n
      \n
      Last: bcache-tools, mkinitcpio, and grub. Go back to tty3, the user one. And copy the bcache-tools package to your newly installed /mnt\n
      \n
      `sudo cp bcache-tools-1.1-1-x86_64.pkg.tar.zst /mnt`\n
      \n
      Then go back tty1 and install it on you arch-chroot.\n
      \n
      `pacman -U bcache-tools-1.1-1-x86_64.pkg.tar.zst`\n
      \n
      Now, we configure the mkinitcpio. Edit your mkinitcpio by using you editor of choice. And add bcache in in MODULES so it looks like this:\n
      \n
      `MODULES=(bcache)`\n
      \n
      And in HOOKS, add it after block and before filesystem. Example:\n
      \n
      `HOOKS=(base udev block bcache flesystem)`\n
      \n
      Make your initcpio by executing this command:\n
      \n
      `mkinitcpio -p linux`\n
      \n
      Grub is the last. Install it as usual. Just make sure you did the partition right, as mentioned before.\n
      \n
      That’s it. You just install Arch Linux on a bcache system. It’s complicated, and headache inducing for sure, but I assure you it is totally worth that pain.\n
      \n
      Note: If you have problem after you reboot, and want to arch-chroot, you need to install bcache-tools again. If you want to reformat anything and it shows the device as busy after you did the `partprobe`, you need to tell the kernel to stop any activity to the drive. In this example the sda is the one you want to edit.\n
      \n
      `echo 1 > /sys/block/sda/sda1/bcache/stop`\n
      \n
      Now, if you accidentally execute the command, you can use `partprobe` again to show it up.\n
      \n
      Reference: [wiki.archlinux.org/title/bcache](https://wiki.archlinux.org/title/bcache)[wiki.archlinux.org/title/btrfs](https://wiki.archlinux.org/title/btrfs)[gist.github.com/…/4c1492f537d9785e19406eb5cd99173…](https://gist.github.com/HardenedArray/4c1492f537d9785e19406eb5cd991735)[…kernel.org/…/Using_Btrfs_with_Multiple_Devices.h…](https://archive.kernel.org/oldwiki/btrfs.wiki.kernel.org/index.php/Using_Btrfs_with_Multiple_Devices.html)
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 22
    +favouriteCount: 131
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1700152658 {#1526
      date: 2023-11-16 17:37:38.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1727 …}
    +votes: Doctrine\ORM\PersistentCollection {#1733 …}
    +reports: Doctrine\ORM\PersistentCollection {#1719 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1691 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1711 …}
    +badges: Doctrine\ORM\PersistentCollection {#1621 …}
    +children: [
      App\Entity\EntryComment {#1697
        +user: App\Entity\User {#265
          +avatar: null
          +cover: null
          +email: "bitduck@lemmy.ml"
          +username: "@bitduck@lemmy.ml"
          +roles: []
          +followersCount: 0
          +homepage: "front"
          +about: null
          +lastActive: DateTime @1700395689 {#275
            date: 2023-11-19 13:08:09.0 +01:00
          }
          +markedForDeletionAt: null
          +fields: null
          +oauthGithubId: null
          +oauthGoogleId: null
          +oauthFacebookId: null
          +oauthKeycloakId: null
          +hideAdult: true
          +showSubscribedUsers: true
          +showSubscribedMagazines: true
          +showSubscribedDomains: true
          +preferredLanguages: []
          +featuredMagazines: null
          +showProfileSubscriptions: false
          +showProfileFollowings: true
          +markNewComments: false
          +notifyOnNewEntry: false
          +notifyOnNewEntryReply: true
          +notifyOnNewEntryCommentReply: true
          +notifyOnNewPost: false
          +notifyOnNewPostReply: true
          +notifyOnNewPostCommentReply: true
          +addMentionsEntries: false
          +addMentionsPosts: true
          +isBanned: false
          +isVerified: false
          +isDeleted: false
          +isBot: false
          +spamProtection: true
          +customCss: null
          +ignoreMagazinesCustomCss: false
          +moderatorTokens: Doctrine\ORM\PersistentCollection {#253 …}
          +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#249 …}
          +moderatorRequests: Doctrine\ORM\PersistentCollection {#238 …}
          +entries: Doctrine\ORM\PersistentCollection {#196 …}
          +entryVotes: Doctrine\ORM\PersistentCollection {#168 …}
          +entryComments: Doctrine\ORM\PersistentCollection {#141 …}
          +entryCommentVotes: Doctrine\ORM\PersistentCollection {#111 …}
          +posts: Doctrine\ORM\PersistentCollection {#84 …}
          +postVotes: Doctrine\ORM\PersistentCollection {#99 …}
          +postComments: Doctrine\ORM\PersistentCollection {#1863 …}
          +postCommentVotes: Doctrine\ORM\PersistentCollection {#1479 …}
          +subscriptions: Doctrine\ORM\PersistentCollection {#1658 …}
          +subscribedDomains: Doctrine\ORM\PersistentCollection {#1868 …}
          +follows: Doctrine\ORM\PersistentCollection {#1917 …}
          +followers: Doctrine\ORM\PersistentCollection {#1601 …}
          +blocks: Doctrine\ORM\PersistentCollection {#1805 …}
          +blockers: Doctrine\ORM\PersistentCollection {#1810 …}
          +blockedMagazines: Doctrine\ORM\PersistentCollection {#1857 …}
          +blockedDomains: Doctrine\ORM\PersistentCollection {#1860 …}
          +reports: Doctrine\ORM\PersistentCollection {#1791 …}
          +favourites: Doctrine\ORM\PersistentCollection {#2416 …}
          +violations: Doctrine\ORM\PersistentCollection {#1824 …}
          +notifications: Doctrine\ORM\PersistentCollection {#1914 …}
          +awards: Doctrine\ORM\PersistentCollection {#1929 …}
          +subscribedCategories: Doctrine\ORM\PersistentCollection {#1867 …}
          +categories: Doctrine\ORM\PersistentCollection {#1880 …}
          -id: 76975
          -password: "$2y$13$nWTr0Xo0QFv5mDVXtKX71uDGR7vOEEnFx2jZ2jyBp0Q0cMjykForC"
          -totpSecret: null
          -totpBackupCodes: []
          -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1894 …}
          +apId: "bitduck@lemmy.ml"
          +apProfileId: "https://lemmy.ml/u/bitduck"
          +apPublicUrl: "https://lemmy.ml/u/bitduck"
          +apFollowersUrl: null
          +apInboxUrl: "https://lemmy.ml/inbox"
          +apDomain: "lemmy.ml"
          +apPreferredUsername: "bitduck"
          +apDiscoverable: true
          +apManuallyApprovesFollowers: false
          +privateKey: null
          +publicKey: null
          +apFetchedAt: DateTime @1726542633 {#269
            date: 2024-09-17 05:10:33.0 +02:00
          }
          +apDeletedAt: null
          +apTimeoutAt: null
          +visibility: "visible             "
          +createdAt: DateTimeImmutable @1700395689 {#268
            date: 2023-11-19 13:08:09.0 +01:00
          }
        }
        +entry: Proxies\__CG__\App\Entity\Entry {#1592 …2}
        +magazine: Proxies\__CG__\App\Entity\Magazine {#1579 …2}
        +image: null
        +parent: null
        +root: null
        +body: """
          Thanks for writing this! Getting bcache set up the first time can be confusing, so this certainly helps.\n
          \n
          I’ll just drop one warning in here. With a setup very much like described here I’ve had severe data corruption and loss, so please make sure your data is properly and regularly backed up. To me it seemed like almost any unexpected or untimely power off would cause some data loss or significant corruption.
          """
        +lang: "en"
        +isAdult: false
        +favouriteCount: 6
        +score: 0
        +lastActive: DateTime @1700129102 {#1439
          date: 2023-11-16 11:05:02.0 +01:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@Uluganda@lemmy.ml"
        ]
        +children: Doctrine\ORM\PersistentCollection {#1580 …}
        +nested: Doctrine\ORM\PersistentCollection {#1583 …}
        +votes: Doctrine\ORM\PersistentCollection {#1582 …}
        +reports: Doctrine\ORM\PersistentCollection {#1589 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1572 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1666 …}
        -id: 129669
        -bodyTs: "'almost':60 'back':53 'bcach':6 'caus':68 'certain':17 'confus':14 'corrupt':40,74 'data':39,48,70 'describ':33 'drop':22 'first':10 'get':5 'help':18 'like':32,59 'll':20 'loss':42,71 'make':45 'much':31 'one':23 'pleas':44 'power':65 'proper':50 'regular':52 'seem':58 'set':7 'setup':29 'sever':38 'signific':73 'sure':46 'thank':1 'time':11 'unexpect':62 'untim':64 've':36 'warn':24 'would':67 'write':3"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://lemmy.ml/comment/5846844"
        +editedAt: null
        +createdAt: DateTimeImmutable @1700129102 {#1435
          date: 2023-11-16 11:05:02.0 +01:00
        }
        +"title": 129669
      }
    ]
    -id: 13261
    -titleTs: "'amaz':3 'bcach':1 'faster':7 'hdd':5 'make':4 'way':6"
    -bodyTs: "'-15':125 '-4067':748,766,775 '-88':749,767,776 '-9663':747,765,774 '/4c1492f537d9785e19406eb5cd99173':1131 '/bcache-tools.git':448 '/boot':606,617 '/boot/efi':632 '/comment/5577205)from':40 '/dev/bcache0':700,836,855,864,873 '/dev/bcache1':701 '/dev/nvme0n1':544 '/dev/nvme0n1p1':595,709,737 '/dev/nvme0n1p2':602,807,882 '/dev/nvme0n1p3':628,817,886 '/dev/sda':537,682 '/dev/sda1':584,666 '/dev/sdb':539,680 '/dev/sdb1':591,667 '/hardenedarray/4c1492f537d9785e19406eb5cd991735)[':1134 '/mnt':837,853,861,920,924 '/mnt/boot':883 '/mnt/boot/efi':887 '/mnt/home':850,870 '/mnt/root':841 '/mnt/var':845,879 '/news/btrfs-raid-56-is-bad)':239 '/oldwiki/btrfs.wiki.kernel.org/index.php/using_btrfs_with_multiple_devices.html)':1139 '/post/7585833).':59 '/run/archiso/cowspace':323 '/sys/block/bcache0/bcache/attach':771 '/sys/block/bcache1/bcache/attach':780 '/sys/block/sda/sda1/bcache/stop':1110 '/sys/firmware/efi/efivars':296 '/title/bcache](https://wiki.archlinux.org/title/bcache)[wiki.archlinux.org/title/btrfs](https://wiki.archlinux.org/title/btrfs)[gist.github.com/':1130 '/u/d3xt3r@lemmy.nz)':44 '/using_btrfs_with_multiple_devices.h':1136 '1':1109 '10':124 '118g':596 '120gb':67 '15':76 '1g':603,621,812 '200m':629,822 '2nd':348 '2x500gb':64 '3':574 '32':816 '4':211,252 '500':585 '500gb':589 '8g':322 '8gb':251,261 'abl':403 'accident':1114 'achiev':502 'act':405 'activ':1092 'actual':51 'add':413,955,970 'af':751,769,778 'af-c5066a6c661b':750,768,777 'alt':353,429 'alway':7 'amaz':148 'answer':34,37 'anyon':180 'anyth':81,192,219,1070 'app':225 'arch':244,272,834,890,892,935,1019,1055 'arch-chroot':934,1054 'archach':697 'archive.kernel.org':1138 'archive.kernel.org/oldwiki/btrfs.wiki.kernel.org/index.php/using_btrfs_with_multiple_devices.html)':1137 'ask':23 'assur':1035 'aur':317,442 'aur.archlinux.org':447 'aur.archlinux.org/bcache-tools.git':446 'b':665 'back':903,927 'base':327,334,979 'base-devel':326,333 'basic':20 'bcach':284,299,440,451,508,514,664,707,734,897,913,956,966,982,1023,1062 'bcache-super-show':733 'bcache-tool':439,450,896,912,1061 'bcache-tools-1.1-1-x86_64.pkg.tar.zst':923,939 'bcache0':675,792 'bcache1':677,794 'better':636 'bg3':96 'block':973,981 'boot':145,290,645,804 'bottom':418 'boy':89 'btrfs':515,838,842,847 'busi':1077 'buy':63,210 'c':708 'c5066a6c661b':752,770,779 'cach':601,704,714 'call':674 'care':130 'cd':449 'cfdisk':550 'cheap':72,74 'cheapest':201 'choic':953 'chroot':936,1056 'clone':437,445 'command':669,732,762,990,1117 'complic':1027 'compress':859,868,877 'configur':54,512,659,802,942 'confus':170 'copi':910 'cp':922 'creat':840,844,849 'cset.uuid':721,739,745 'ctrl':352,428 'd':698 'd3xter':41 'data':187 'decid':61 'devel':328,335 'devic':1075 'differ':109,152 'distro':270 'done':474,781 'drive':285,520,554,831,1095 'easiest':275 'echo':763,772,1108 'edit':410,945,1107 'editor':951 'efi':647 'els':205 'endless':21 'error':478 'even':607 'ever':14 'everyday':16 'exampl':740,977,1098 'execut':505,988,1115 'f':815 'f2':354 'f3':430 'fast':121 'favor':197 'fc3aac3b':746,764,773 'fifth':888 'figur':48 'filesystem':976 'finish':371 'first':182 'flesystem':983 'follow':891 'formati':581 'found':483 'fouth':511 'g':388 'game':98,222 'gb':586 'get':92,214,241 'gist.github.com':1133 'gist.github.com/hardenedarray/4c1492f537d9785e19406eb5cd991735)[':1132 'git':330,336,444 'go':346,902,926 'got':29 'grep':738 'grub':901,994 'guid':178 'hard':626 'hdd':65,157,212,525,542,568,587 'headach':1029 'hell':172 'help':33,46 'home':867 'hook':969,978 'howev':35 'identifi':523 'ignor':337 'import':195 'induc':1030 'initcpio':986 'insan':165 'inspect':458 'instal':168,280,298,325,489,833,889,919,930,998,1018,1060 'instanc':534 'internet':303,343 'interst':181 'iso':311 'kernel':496,612,1088 'kernel.org':1135 'knew':623 'know':723 'l':696 'last':26,160,895,997 'least':250 'lemmy.ml':39,43,58 'lemmy.ml/comment/5577205)from':38 'lemmy.ml/post/7585833).':57 'lemmy.ml/u/d3xt3r@lemmy.nz)':42 'less':619 'let':529 'like':75,963 'line':415 'linux':4,13,338,993,1020 'list':518 'live':245,306,310 'load':119,142,498 'login':356,431 'lol':894 'look':962 'lost':86 'lot':31 'love':3,12 'ls':295 'lsblk':522,686,784 'lzo':860,869,878 'm':387 'make':287,466,563,573,615,663,671,689,706,984,1003 'make-bcach':662,705 'makepkg':379,469 'mayb':123 'mention':1011 'might':253 'mkdir':863,872,881,885 'mkfs.btrfs':695 'mkfs.ext4':806 'mkfs.vfat':814 'mkinitcpio':899,944,947,991 'modprob':507 'modul':959,965 'mount':318,827,835,854,862,871,880,884 'need':135,373,399,492,641,1058,1084 'new':116 'newli':918 'next':363 'note':1043 'noth':87 'notic':150 'nvme':68 'nvme0n1p1':797 'o':319,856,865,874 'okay':1,656 'old':112 'one':257,564,611,908,1103 'option':846,851 'otherwis':365,649 'output':743 'p':992 'packag':486,915 'pacman':331,937 'pain':1042 'partit':552,565,575,590,598,604,618,630,648,673,798,805,813,823,1008 'partprob':510,1082,1121 'passwd':391 'password':396 'perform':103,198 'pkgbuild':460 'possibl':18,202 'press':351,427 'problem':1047 'proceed':464 'process':369 'pseudo':177 'pseudo-guid':176 'raid':661,690,717 'raid0':25,517,699 'raid10':215 'raid5':231 'realli':45 'reboot':1050 'refer':1127 'reformat':1069 'regist':712,757 'rememb':808,818 'remot':193 'remount':308,320 'repo':443 'requir':100 'right':1009 'root':358,383,858 'run':381 'safe':637 'save':424 'say':531 'sda':1100 'sda1':569 'sdb1':571 'second':240 'see':107,788 'separ':644 'set':394,436 'setup':117,162,190,234,375,718 'show':736,1073,1124 'sinc':378 'size':321 'slow':342 'slower':127 'smallest':256 'sorri':639 'sri':470 'ssd':69,101,113,161,528,547,578,597 'step':364 'stick':247 'stop':1090 'store':185,218 'subvol':857,866,875 'subvolum':839,843,848 'suck':236 'sudo':506,509,921 'super':735 'superus':407 'sure':288,1004,1032 'surpris':8,93 'system':56,307,655,1024 'tell':494,1086 'test':95 'textur':140 'think':263 'third':297 'throw':477 'time':146 'tool':441,452,898,914,1063 'total':77,1039 'tti':349 'tty1':928 'tty3':905 'two':694 'type':294,385,468 'u':938 'udev':980 'uefi':292 'umount':852 'unboot':654 'unless':206 'usb':246 'use':230,266,315,549,558,685,730,760,949,1120 'user':377,390,392,401,419,433,907 'useradd':386 'usual':1001 'uuid':727 'var':876 'visudo':411 'vmliuz':480 'wait':137,366 'want':52,208,278,455,561,1052,1067,1105 'way':627 'week':27 'well':104,122 'whatev':559 'wheel':389 'wiki':893 'wiki.archlinux.org':1129 'wiki.archlinux.org/title/bcache](https://wiki.archlinux.org/title/bcache)[wiki.archlinux.org/title/btrfs](https://wiki.archlinux.org/title/btrfs)[gist.github.com/':1128 'wont':380 'work':254 'worth':1040 'write':174 'wrong':82 'www.phoronix.com':238 'www.phoronix.com/news/btrfs-raid-56-is-bad)':237 'yet':583"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1700146309
    +visibility: "visible             "
    +apId: "https://lemmy.ml/post/8002348"
    +editedAt: DateTimeImmutable @1700319306 {#1693
      date: 2023-11-18 15:55:06.0 +01:00
    }
    +createdAt: DateTimeImmutable @1700059909 {#1550
      date: 2023-11-15 15:51:49.0 +01:00
    }
    +__isInitialized__: true
     …2
  }
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
entry_comment App\Twig\Components\EntryCommentComponent 12.0 MiB 9.86 ms
Input props
[
  "comment" => App\Entity\EntryComment {#1697
    +user: App\Entity\User {#265
      +avatar: null
      +cover: null
      +email: "bitduck@lemmy.ml"
      +username: "@bitduck@lemmy.ml"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1700395689 {#275
        date: 2023-11-19 13:08:09.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#253 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#249 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#238 …}
      +entries: Doctrine\ORM\PersistentCollection {#196 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#168 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#141 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#111 …}
      +posts: Doctrine\ORM\PersistentCollection {#84 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#99 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1863 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1479 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1658 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1868 …}
      +follows: Doctrine\ORM\PersistentCollection {#1917 …}
      +followers: Doctrine\ORM\PersistentCollection {#1601 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1805 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1810 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1857 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1860 …}
      +reports: Doctrine\ORM\PersistentCollection {#1791 …}
      +favourites: Doctrine\ORM\PersistentCollection {#2416 …}
      +violations: Doctrine\ORM\PersistentCollection {#1824 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1914 …}
      +awards: Doctrine\ORM\PersistentCollection {#1929 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1867 …}
      +categories: Doctrine\ORM\PersistentCollection {#1880 …}
      -id: 76975
      -password: "$2y$13$nWTr0Xo0QFv5mDVXtKX71uDGR7vOEEnFx2jZ2jyBp0Q0cMjykForC"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1894 …}
      +apId: "bitduck@lemmy.ml"
      +apProfileId: "https://lemmy.ml/u/bitduck"
      +apPublicUrl: "https://lemmy.ml/u/bitduck"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "bitduck"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1726542633 {#269
        date: 2024-09-17 05:10:33.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1700395689 {#268
        date: 2023-11-19 13:08:09.0 +01:00
      }
    }
    +entry: Proxies\__CG__\App\Entity\Entry {#1592
      +user: Proxies\__CG__\App\Entity\User {#2458
        +avatar: null
        +cover: null
        +email: "Uluganda@lemmy.ml"
        +username: "@Uluganda@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1700365066 {#3317
          date: 2023-11-19 04:37:46.0 +01:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#3320 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#3322 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#3324 …}
        +entries: Doctrine\ORM\PersistentCollection {#3326 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#3328 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#3330 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3332 …}
        +posts: Doctrine\ORM\PersistentCollection {#3334 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#3336 …}
        +postComments: Doctrine\ORM\PersistentCollection {#3338 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#3340 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#3342 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#3344 …}
        +follows: Doctrine\ORM\PersistentCollection {#3346 …}
        +followers: Doctrine\ORM\PersistentCollection {#3348 …}
        +blocks: Doctrine\ORM\PersistentCollection {#3350 …}
        +blockers: Doctrine\ORM\PersistentCollection {#3352 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#3354 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#3356 …}
        +reports: Doctrine\ORM\PersistentCollection {#3358 …}
        +favourites: Doctrine\ORM\PersistentCollection {#3360 …}
        +violations: Doctrine\ORM\PersistentCollection {#3362 …}
        +notifications: Doctrine\ORM\PersistentCollection {#3364 …}
        +awards: Doctrine\ORM\PersistentCollection {#3366 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#3368 …}
        +categories: Doctrine\ORM\PersistentCollection {#3370 …}
        -id: 9933
        -password: "$2y$13$Cd0jic67tC6T7tuaqa7iWewkFHt3J3XyusH8Bh.FZvcZOPIwsBfA6"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#3372 …}
        +apId: "Uluganda@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/Uluganda"
        +apPublicUrl: "https://lemmy.ml/u/Uluganda"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "Uluganda"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1707245788 {#3318
          date: 2024-02-06 19:56:28.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687567147 {#3319
          date: 2023-06-24 02:39:07.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: Proxies\__CG__\App\Entity\Magazine {#1579
        +icon: Proxies\__CG__\App\Entity\Image {#2847 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#2826
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#2846 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#2844 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#2849 …}
        +entries: Doctrine\ORM\PersistentCollection {#2850 …}
        +posts: Doctrine\ORM\PersistentCollection {#2853 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#2855 …}
        +bans: Doctrine\ORM\PersistentCollection {#2861 …}
        +reports: Doctrine\ORM\PersistentCollection {#2869 …}
        +badges: Doctrine\ORM\PersistentCollection {#2882 …}
        +logs: Doctrine\ORM\PersistentCollection {#2892 …}
        +awards: Doctrine\ORM\PersistentCollection {#2874 …}
        +categories: Doctrine\ORM\PersistentCollection {#2898 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#2827
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#2828
          date: 2023-11-02 13:51:08.0 +01:00
        }
        +__isInitialized__: true
         …2
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1732 …}
      +slug: "Bcache-is-amazing-Making-HDD-way-faster"
      +title: "Bcache is amazing!: Making HDD way faster!"
      +url: null
      +body: """
        Okay, I love Linux. But I always surprised that I can love Linux ever more everyday. The possibility is basically endless!\n
        \n
        I asked about raid0 last week and got a lot of helpful answers. However, this[ answer ](https://lemmy.ml/comment/5577205)from [d3Xter](https://lemmy.ml/u/d3Xt3r@lemmy.nz) really helped me figures how I actually want to [configure my system](https://lemmy.ml/post/7585833). I decided to buy 2x500GB HDD and 120GB NVME SSD. It’s cheap, very cheap. Like $15 total. If there is anything wrong with them, I lost nothing. But boy did I get surprised. I tested BG3, a game that requires SSD to perform well and I see no difference between my old SSD and my new setup. It loads as fast (well, maybe 10-15s slower, but who cares?), and I do not need to wait for the textures to load, at all. Boot time is amazing. I notice no difference at all between this HDD and my last SSD setup. Which is insane!\n
        \n
        But the installation is confusing as hell. I write this pseudo-guide for anyone intersted.\n
        \n
        FIRST: DO NOT STORE ANY DATA IN THIS SETUP FOR ANYTHING REMOTE TO IMPORTANT!\n
        \n
        I favor performance for the cheapest possible above all else. Unless you want to buy 4 HDD to get raid10, do not store anything other than games and your apps on it. Do not use raid5 in this setup, [it sucks.](https://www.phoronix.com/news/Btrfs-RAID-56-Is-Bad)\n
        \n
        Second: Get yourself an Arch live USB stick with at least 8GB (4 might works, but smallest one I have is 8GB). I think you can use it on other distro, but Arch is the easiest if you want to install IT on the bcache drive. And make sure you booted into UEFI by typing:\n
        \n
        `ls /sys/firmware/efi/efivars/`\n
        \n
        Third: Installing bcache. After you have internet on your live system, remount your live iso so we can use the AUR.\n
        \n
        `mount -o remount,size=8G /run/archiso/cowspace`\n
        \n
        Then, install base-devel and git\n
        \n
        `pacman -S base-devel git --ignore linux`\n
        \n
        If you have slow internet, you can go to 2nd tty by pressing ctrl + alt + f2 and login as root there to do the next step, otherwise wait for the process to finish. We need to setup a user since makepkg wont run on root. So, type:\n
        \n
        `useradd -m -G wheel user && passwd user` and set your password Then we need the user to able to act as superuser. So, we edit `visudo` and add this line at the bottom: `user ALL=(ALL:ALL)ALL` save it and press ctrl + alt + f3, login as user you just set. Clone the bcache-tools AUR repo: `git clone https://aur.archlinux.org/bcache-tools.git && cd bcache-tools`\n
        \n
        If you want you can inspect the PKGBUILD, but we will proceed to make it, type:\n
        \n
        `makepkg -sri`\n
        \n
        Once it is done, it will throw error about vmliuz is not found, but the package itself is installed, you just need to tell the kernel to load it. We can achieve that by executing:\n
        \n
        `sudo modprobe bcache && sudo partprobe`\n
        \n
        Fouth: Configuring the bcache, btrfs, and raid0 List your drive with `lsblk` identify your HDD and your SSD. Let’s say in this instance, we have /dev/sda and /dev/sdb as our HDD and /dev/nvme0n1 as our SSD. I use cfdisk to partition my drive, but you can use whatever you want. I make one partition for both HDD, sda1 and sdb1, and make 3 partitions for my SSD. DO NOT FORMATI IT YET. /dev/sda1 : 500 GB HDD with 500GB partition /dev/sdb1 : same as before /dev/nvme0n1p1 : 118G SSD partition as the cache /dev/nvme0n1p2 : 1G partition as /boot. Even if you have one kernel, do not make a /boot partition less than 1G. I knew it in hard way. /dev/nvme0n1p3 : 200M partition as /boot/efi. Same as before, better safe than sorry. YOU NEED TO HAVE SEPARATE BOOT AND EFI PARTITION, OTHERWISE YOU WILL HAVE AN UNBOOTABLE SYSTEM!\n
        \n
        Okay, now we configure our raid.\n
        \n
        `make-bcache -B /dev/sda1 /dev/sdb1`\n
        \n
        This command will make a partition (?) called bcache0 and bcache1 under both /dev/sdb and /dev/sda if you use\n
        \n
        `lsblk`\n
        \n
        Now, we make raid out of those two.\n
        \n
        `mkfs.btrfs -L ARCHACHED -d raid0 /dev/bcache0 /dev/bcache1`\n
        \n
        Then the cache.\n
        \n
        `make-bcache -C /dev/nvme0n1p1`\n
        \n
        We can register the cache for our raid setup by its cset.uuid. To know what is the uuid, we can use this command.\n
        \n
        `bcache-super-show /dev/nvme0n1p1 |grep cset.uuid`\n
        \n
        Example of the output is:\n
        \n
        `cset.uuid fc3aac3b-9663-4067-88af-c5066a6c661b`\n
        \n
        From that, we can register it by using this command:\n
        \n
        `echo fc3aac3b-9663-4067-88af-c5066a6c661b > /sys/block/bcache0/bcache/attach`\n
        \n
        `echo fc3aac3b-9663-4067-88af-c5066a6c661b > /sys/block/bcache1/bcache/attach`\n
        \n
        Done! If you `lsblk` now, you can see that there is bcache0 and bcache1 under the nvme0n1p1 partition.\n
        \n
        Now, we can configure our boot partition.\n
        \n
        `mkfs.ext4 /dev/nvme0n1p2` (Remember, this is the 1G partition)\n
        \n
        `mkfs.vfat -F 32 /dev/nvme0n1p3` (Remember, this is the 200M partition)\n
        \n
        We can then mount all of those drive to install Arch.\n
        \n
        `mount /dev/bcache0 /mnt`\n
        \n
        `btrfs subvolume create /mnt/root`\n
        \n
        `btrfs subvolume create /mnt/var` (optional)\n
        \n
        `btrfs subvolume create /mnt/home` (optional)\n
        \n
        `umount /mnt`\n
        \n
        `mount /dev/bcache0 -o subvol=root,compress=lzo /mnt/`\n
        \n
        `mount --mkdir /dev/bcache0 -o subvol=home,compress=lzo /mnt/home`\n
        \n
        `mount --mkdir /dev/bcache0 -o subvol=var,compress=lzo /mnt/var`\n
        \n
        `mount --mkdir /dev/nvme0n1p2 /mnt/boot`\n
        \n
        `mount --mkdir /dev/nvme0n1p3 /mnt/boot/efi`\n
        \n
        Fifth: Install Arch Follow arch wiki, lol.\n
        \n
        Last: bcache-tools, mkinitcpio, and grub. Go back to tty3, the user one. And copy the bcache-tools package to your newly installed /mnt\n
        \n
        `sudo cp bcache-tools-1.1-1-x86_64.pkg.tar.zst /mnt`\n
        \n
        Then go back tty1 and install it on you arch-chroot.\n
        \n
        `pacman -U bcache-tools-1.1-1-x86_64.pkg.tar.zst`\n
        \n
        Now, we configure the mkinitcpio. Edit your mkinitcpio by using you editor of choice. And add bcache in in MODULES so it looks like this:\n
        \n
        `MODULES=(bcache)`\n
        \n
        And in HOOKS, add it after block and before filesystem. Example:\n
        \n
        `HOOKS=(base udev block bcache flesystem)`\n
        \n
        Make your initcpio by executing this command:\n
        \n
        `mkinitcpio -p linux`\n
        \n
        Grub is the last. Install it as usual. Just make sure you did the partition right, as mentioned before.\n
        \n
        That’s it. You just install Arch Linux on a bcache system. It’s complicated, and headache inducing for sure, but I assure you it is totally worth that pain.\n
        \n
        Note: If you have problem after you reboot, and want to arch-chroot, you need to install bcache-tools again. If you want to reformat anything and it shows the device as busy after you did the `partprobe`, you need to tell the kernel to stop any activity to the drive. In this example the sda is the one you want to edit.\n
        \n
        `echo 1 > /sys/block/sda/sda1/bcache/stop`\n
        \n
        Now, if you accidentally execute the command, you can use `partprobe` again to show it up.\n
        \n
        Reference: [wiki.archlinux.org/title/bcache](https://wiki.archlinux.org/title/bcache)[wiki.archlinux.org/title/btrfs](https://wiki.archlinux.org/title/btrfs)[gist.github.com/…/4c1492f537d9785e19406eb5cd99173…](https://gist.github.com/HardenedArray/4c1492f537d9785e19406eb5cd991735)[…kernel.org/…/Using_Btrfs_with_Multiple_Devices.h…](https://archive.kernel.org/oldwiki/btrfs.wiki.kernel.org/index.php/Using_Btrfs_with_Multiple_Devices.html)
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 22
      +favouriteCount: 131
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1700152658 {#1526
        date: 2023-11-16 17:37:38.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1727 …}
      +votes: Doctrine\ORM\PersistentCollection {#1733 …}
      +reports: Doctrine\ORM\PersistentCollection {#1719 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1691 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1711 …}
      +badges: Doctrine\ORM\PersistentCollection {#1621 …}
      +children: [
        App\Entity\EntryComment {#1697}
      ]
      -id: 13261
      -titleTs: "'amaz':3 'bcach':1 'faster':7 'hdd':5 'make':4 'way':6"
      -bodyTs: "'-15':125 '-4067':748,766,775 '-88':749,767,776 '-9663':747,765,774 '/4c1492f537d9785e19406eb5cd99173':1131 '/bcache-tools.git':448 '/boot':606,617 '/boot/efi':632 '/comment/5577205)from':40 '/dev/bcache0':700,836,855,864,873 '/dev/bcache1':701 '/dev/nvme0n1':544 '/dev/nvme0n1p1':595,709,737 '/dev/nvme0n1p2':602,807,882 '/dev/nvme0n1p3':628,817,886 '/dev/sda':537,682 '/dev/sda1':584,666 '/dev/sdb':539,680 '/dev/sdb1':591,667 '/hardenedarray/4c1492f537d9785e19406eb5cd991735)[':1134 '/mnt':837,853,861,920,924 '/mnt/boot':883 '/mnt/boot/efi':887 '/mnt/home':850,870 '/mnt/root':841 '/mnt/var':845,879 '/news/btrfs-raid-56-is-bad)':239 '/oldwiki/btrfs.wiki.kernel.org/index.php/using_btrfs_with_multiple_devices.html)':1139 '/post/7585833).':59 '/run/archiso/cowspace':323 '/sys/block/bcache0/bcache/attach':771 '/sys/block/bcache1/bcache/attach':780 '/sys/block/sda/sda1/bcache/stop':1110 '/sys/firmware/efi/efivars':296 '/title/bcache](https://wiki.archlinux.org/title/bcache)[wiki.archlinux.org/title/btrfs](https://wiki.archlinux.org/title/btrfs)[gist.github.com/':1130 '/u/d3xt3r@lemmy.nz)':44 '/using_btrfs_with_multiple_devices.h':1136 '1':1109 '10':124 '118g':596 '120gb':67 '15':76 '1g':603,621,812 '200m':629,822 '2nd':348 '2x500gb':64 '3':574 '32':816 '4':211,252 '500':585 '500gb':589 '8g':322 '8gb':251,261 'abl':403 'accident':1114 'achiev':502 'act':405 'activ':1092 'actual':51 'add':413,955,970 'af':751,769,778 'af-c5066a6c661b':750,768,777 'alt':353,429 'alway':7 'amaz':148 'answer':34,37 'anyon':180 'anyth':81,192,219,1070 'app':225 'arch':244,272,834,890,892,935,1019,1055 'arch-chroot':934,1054 'archach':697 'archive.kernel.org':1138 'archive.kernel.org/oldwiki/btrfs.wiki.kernel.org/index.php/using_btrfs_with_multiple_devices.html)':1137 'ask':23 'assur':1035 'aur':317,442 'aur.archlinux.org':447 'aur.archlinux.org/bcache-tools.git':446 'b':665 'back':903,927 'base':327,334,979 'base-devel':326,333 'basic':20 'bcach':284,299,440,451,508,514,664,707,734,897,913,956,966,982,1023,1062 'bcache-super-show':733 'bcache-tool':439,450,896,912,1061 'bcache-tools-1.1-1-x86_64.pkg.tar.zst':923,939 'bcache0':675,792 'bcache1':677,794 'better':636 'bg3':96 'block':973,981 'boot':145,290,645,804 'bottom':418 'boy':89 'btrfs':515,838,842,847 'busi':1077 'buy':63,210 'c':708 'c5066a6c661b':752,770,779 'cach':601,704,714 'call':674 'care':130 'cd':449 'cfdisk':550 'cheap':72,74 'cheapest':201 'choic':953 'chroot':936,1056 'clone':437,445 'command':669,732,762,990,1117 'complic':1027 'compress':859,868,877 'configur':54,512,659,802,942 'confus':170 'copi':910 'cp':922 'creat':840,844,849 'cset.uuid':721,739,745 'ctrl':352,428 'd':698 'd3xter':41 'data':187 'decid':61 'devel':328,335 'devic':1075 'differ':109,152 'distro':270 'done':474,781 'drive':285,520,554,831,1095 'easiest':275 'echo':763,772,1108 'edit':410,945,1107 'editor':951 'efi':647 'els':205 'endless':21 'error':478 'even':607 'ever':14 'everyday':16 'exampl':740,977,1098 'execut':505,988,1115 'f':815 'f2':354 'f3':430 'fast':121 'favor':197 'fc3aac3b':746,764,773 'fifth':888 'figur':48 'filesystem':976 'finish':371 'first':182 'flesystem':983 'follow':891 'formati':581 'found':483 'fouth':511 'g':388 'game':98,222 'gb':586 'get':92,214,241 'gist.github.com':1133 'gist.github.com/hardenedarray/4c1492f537d9785e19406eb5cd991735)[':1132 'git':330,336,444 'go':346,902,926 'got':29 'grep':738 'grub':901,994 'guid':178 'hard':626 'hdd':65,157,212,525,542,568,587 'headach':1029 'hell':172 'help':33,46 'home':867 'hook':969,978 'howev':35 'identifi':523 'ignor':337 'import':195 'induc':1030 'initcpio':986 'insan':165 'inspect':458 'instal':168,280,298,325,489,833,889,919,930,998,1018,1060 'instanc':534 'internet':303,343 'interst':181 'iso':311 'kernel':496,612,1088 'kernel.org':1135 'knew':623 'know':723 'l':696 'last':26,160,895,997 'least':250 'lemmy.ml':39,43,58 'lemmy.ml/comment/5577205)from':38 'lemmy.ml/post/7585833).':57 'lemmy.ml/u/d3xt3r@lemmy.nz)':42 'less':619 'let':529 'like':75,963 'line':415 'linux':4,13,338,993,1020 'list':518 'live':245,306,310 'load':119,142,498 'login':356,431 'lol':894 'look':962 'lost':86 'lot':31 'love':3,12 'ls':295 'lsblk':522,686,784 'lzo':860,869,878 'm':387 'make':287,466,563,573,615,663,671,689,706,984,1003 'make-bcach':662,705 'makepkg':379,469 'mayb':123 'mention':1011 'might':253 'mkdir':863,872,881,885 'mkfs.btrfs':695 'mkfs.ext4':806 'mkfs.vfat':814 'mkinitcpio':899,944,947,991 'modprob':507 'modul':959,965 'mount':318,827,835,854,862,871,880,884 'need':135,373,399,492,641,1058,1084 'new':116 'newli':918 'next':363 'note':1043 'noth':87 'notic':150 'nvme':68 'nvme0n1p1':797 'o':319,856,865,874 'okay':1,656 'old':112 'one':257,564,611,908,1103 'option':846,851 'otherwis':365,649 'output':743 'p':992 'packag':486,915 'pacman':331,937 'pain':1042 'partit':552,565,575,590,598,604,618,630,648,673,798,805,813,823,1008 'partprob':510,1082,1121 'passwd':391 'password':396 'perform':103,198 'pkgbuild':460 'possibl':18,202 'press':351,427 'problem':1047 'proceed':464 'process':369 'pseudo':177 'pseudo-guid':176 'raid':661,690,717 'raid0':25,517,699 'raid10':215 'raid5':231 'realli':45 'reboot':1050 'refer':1127 'reformat':1069 'regist':712,757 'rememb':808,818 'remot':193 'remount':308,320 'repo':443 'requir':100 'right':1009 'root':358,383,858 'run':381 'safe':637 'save':424 'say':531 'sda':1100 'sda1':569 'sdb1':571 'second':240 'see':107,788 'separ':644 'set':394,436 'setup':117,162,190,234,375,718 'show':736,1073,1124 'sinc':378 'size':321 'slow':342 'slower':127 'smallest':256 'sorri':639 'sri':470 'ssd':69,101,113,161,528,547,578,597 'step':364 'stick':247 'stop':1090 'store':185,218 'subvol':857,866,875 'subvolum':839,843,848 'suck':236 'sudo':506,509,921 'super':735 'superus':407 'sure':288,1004,1032 'surpris':8,93 'system':56,307,655,1024 'tell':494,1086 'test':95 'textur':140 'think':263 'third':297 'throw':477 'time':146 'tool':441,452,898,914,1063 'total':77,1039 'tti':349 'tty1':928 'tty3':905 'two':694 'type':294,385,468 'u':938 'udev':980 'uefi':292 'umount':852 'unboot':654 'unless':206 'usb':246 'use':230,266,315,549,558,685,730,760,949,1120 'user':377,390,392,401,419,433,907 'useradd':386 'usual':1001 'uuid':727 'var':876 'visudo':411 'vmliuz':480 'wait':137,366 'want':52,208,278,455,561,1052,1067,1105 'way':627 'week':27 'well':104,122 'whatev':559 'wheel':389 'wiki':893 'wiki.archlinux.org':1129 'wiki.archlinux.org/title/bcache](https://wiki.archlinux.org/title/bcache)[wiki.archlinux.org/title/btrfs](https://wiki.archlinux.org/title/btrfs)[gist.github.com/':1128 'wont':380 'work':254 'worth':1040 'write':174 'wrong':82 'www.phoronix.com':238 'www.phoronix.com/news/btrfs-raid-56-is-bad)':237 'yet':583"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1700146309
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/8002348"
      +editedAt: DateTimeImmutable @1700319306 {#1693
        date: 2023-11-18 15:55:06.0 +01:00
      }
      +createdAt: DateTimeImmutable @1700059909 {#1550
        date: 2023-11-15 15:51:49.0 +01:00
      }
      +__isInitialized__: true
       …2
    }
    +magazine: Proxies\__CG__\App\Entity\Magazine {#1579 …2}
    +image: null
    +parent: null
    +root: null
    +body: """
      Thanks for writing this! Getting bcache set up the first time can be confusing, so this certainly helps.\n
      \n
      I’ll just drop one warning in here. With a setup very much like described here I’ve had severe data corruption and loss, so please make sure your data is properly and regularly backed up. To me it seemed like almost any unexpected or untimely power off would cause some data loss or significant corruption.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 6
    +score: 0
    +lastActive: DateTime @1700129102 {#1439
      date: 2023-11-16 11:05:02.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@Uluganda@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#1580 …}
    +nested: Doctrine\ORM\PersistentCollection {#1583 …}
    +votes: Doctrine\ORM\PersistentCollection {#1582 …}
    +reports: Doctrine\ORM\PersistentCollection {#1589 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1572 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1666 …}
    -id: 129669
    -bodyTs: "'almost':60 'back':53 'bcach':6 'caus':68 'certain':17 'confus':14 'corrupt':40,74 'data':39,48,70 'describ':33 'drop':22 'first':10 'get':5 'help':18 'like':32,59 'll':20 'loss':42,71 'make':45 'much':31 'one':23 'pleas':44 'power':65 'proper':50 'regular':52 'seem':58 'set':7 'setup':29 'sever':38 'signific':73 'sure':46 'thank':1 'time':11 'unexpect':62 'untim':64 've':36 'warn':24 'would':67 'write':3"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.ml/comment/5846844"
    +editedAt: null
    +createdAt: DateTimeImmutable @1700129102 {#1435
      date: 2023-11-16 11:05:02.0 +01:00
    }
    +"title": 129669
  }
  "showEntryTitle" => false
  "dateAsUrl" => true
  "showMagazineName" => false
]
Attributes
[]
Component
App\Twig\Components\EntryCommentComponent {#3971
  +comment: App\Entity\EntryComment {#1697
    +user: App\Entity\User {#265
      +avatar: null
      +cover: null
      +email: "bitduck@lemmy.ml"
      +username: "@bitduck@lemmy.ml"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1700395689 {#275
        date: 2023-11-19 13:08:09.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#253 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#249 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#238 …}
      +entries: Doctrine\ORM\PersistentCollection {#196 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#168 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#141 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#111 …}
      +posts: Doctrine\ORM\PersistentCollection {#84 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#99 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1863 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1479 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1658 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1868 …}
      +follows: Doctrine\ORM\PersistentCollection {#1917 …}
      +followers: Doctrine\ORM\PersistentCollection {#1601 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1805 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1810 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1857 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1860 …}
      +reports: Doctrine\ORM\PersistentCollection {#1791 …}
      +favourites: Doctrine\ORM\PersistentCollection {#2416 …}
      +violations: Doctrine\ORM\PersistentCollection {#1824 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1914 …}
      +awards: Doctrine\ORM\PersistentCollection {#1929 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1867 …}
      +categories: Doctrine\ORM\PersistentCollection {#1880 …}
      -id: 76975
      -password: "$2y$13$nWTr0Xo0QFv5mDVXtKX71uDGR7vOEEnFx2jZ2jyBp0Q0cMjykForC"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1894 …}
      +apId: "bitduck@lemmy.ml"
      +apProfileId: "https://lemmy.ml/u/bitduck"
      +apPublicUrl: "https://lemmy.ml/u/bitduck"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "bitduck"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1726542633 {#269
        date: 2024-09-17 05:10:33.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1700395689 {#268
        date: 2023-11-19 13:08:09.0 +01:00
      }
    }
    +entry: Proxies\__CG__\App\Entity\Entry {#1592
      +user: Proxies\__CG__\App\Entity\User {#2458
        +avatar: null
        +cover: null
        +email: "Uluganda@lemmy.ml"
        +username: "@Uluganda@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1700365066 {#3317
          date: 2023-11-19 04:37:46.0 +01:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#3320 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#3322 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#3324 …}
        +entries: Doctrine\ORM\PersistentCollection {#3326 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#3328 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#3330 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3332 …}
        +posts: Doctrine\ORM\PersistentCollection {#3334 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#3336 …}
        +postComments: Doctrine\ORM\PersistentCollection {#3338 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#3340 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#3342 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#3344 …}
        +follows: Doctrine\ORM\PersistentCollection {#3346 …}
        +followers: Doctrine\ORM\PersistentCollection {#3348 …}
        +blocks: Doctrine\ORM\PersistentCollection {#3350 …}
        +blockers: Doctrine\ORM\PersistentCollection {#3352 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#3354 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#3356 …}
        +reports: Doctrine\ORM\PersistentCollection {#3358 …}
        +favourites: Doctrine\ORM\PersistentCollection {#3360 …}
        +violations: Doctrine\ORM\PersistentCollection {#3362 …}
        +notifications: Doctrine\ORM\PersistentCollection {#3364 …}
        +awards: Doctrine\ORM\PersistentCollection {#3366 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#3368 …}
        +categories: Doctrine\ORM\PersistentCollection {#3370 …}
        -id: 9933
        -password: "$2y$13$Cd0jic67tC6T7tuaqa7iWewkFHt3J3XyusH8Bh.FZvcZOPIwsBfA6"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#3372 …}
        +apId: "Uluganda@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/Uluganda"
        +apPublicUrl: "https://lemmy.ml/u/Uluganda"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "Uluganda"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1707245788 {#3318
          date: 2024-02-06 19:56:28.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687567147 {#3319
          date: 2023-06-24 02:39:07.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: Proxies\__CG__\App\Entity\Magazine {#1579
        +icon: Proxies\__CG__\App\Entity\Image {#2847 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#2826
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#2846 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#2844 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#2849 …}
        +entries: Doctrine\ORM\PersistentCollection {#2850 …}
        +posts: Doctrine\ORM\PersistentCollection {#2853 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#2855 …}
        +bans: Doctrine\ORM\PersistentCollection {#2861 …}
        +reports: Doctrine\ORM\PersistentCollection {#2869 …}
        +badges: Doctrine\ORM\PersistentCollection {#2882 …}
        +logs: Doctrine\ORM\PersistentCollection {#2892 …}
        +awards: Doctrine\ORM\PersistentCollection {#2874 …}
        +categories: Doctrine\ORM\PersistentCollection {#2898 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#2827
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#2828
          date: 2023-11-02 13:51:08.0 +01:00
        }
        +__isInitialized__: true
         …2
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1732 …}
      +slug: "Bcache-is-amazing-Making-HDD-way-faster"
      +title: "Bcache is amazing!: Making HDD way faster!"
      +url: null
      +body: """
        Okay, I love Linux. But I always surprised that I can love Linux ever more everyday. The possibility is basically endless!\n
        \n
        I asked about raid0 last week and got a lot of helpful answers. However, this[ answer ](https://lemmy.ml/comment/5577205)from [d3Xter](https://lemmy.ml/u/d3Xt3r@lemmy.nz) really helped me figures how I actually want to [configure my system](https://lemmy.ml/post/7585833). I decided to buy 2x500GB HDD and 120GB NVME SSD. It’s cheap, very cheap. Like $15 total. If there is anything wrong with them, I lost nothing. But boy did I get surprised. I tested BG3, a game that requires SSD to perform well and I see no difference between my old SSD and my new setup. It loads as fast (well, maybe 10-15s slower, but who cares?), and I do not need to wait for the textures to load, at all. Boot time is amazing. I notice no difference at all between this HDD and my last SSD setup. Which is insane!\n
        \n
        But the installation is confusing as hell. I write this pseudo-guide for anyone intersted.\n
        \n
        FIRST: DO NOT STORE ANY DATA IN THIS SETUP FOR ANYTHING REMOTE TO IMPORTANT!\n
        \n
        I favor performance for the cheapest possible above all else. Unless you want to buy 4 HDD to get raid10, do not store anything other than games and your apps on it. Do not use raid5 in this setup, [it sucks.](https://www.phoronix.com/news/Btrfs-RAID-56-Is-Bad)\n
        \n
        Second: Get yourself an Arch live USB stick with at least 8GB (4 might works, but smallest one I have is 8GB). I think you can use it on other distro, but Arch is the easiest if you want to install IT on the bcache drive. And make sure you booted into UEFI by typing:\n
        \n
        `ls /sys/firmware/efi/efivars/`\n
        \n
        Third: Installing bcache. After you have internet on your live system, remount your live iso so we can use the AUR.\n
        \n
        `mount -o remount,size=8G /run/archiso/cowspace`\n
        \n
        Then, install base-devel and git\n
        \n
        `pacman -S base-devel git --ignore linux`\n
        \n
        If you have slow internet, you can go to 2nd tty by pressing ctrl + alt + f2 and login as root there to do the next step, otherwise wait for the process to finish. We need to setup a user since makepkg wont run on root. So, type:\n
        \n
        `useradd -m -G wheel user && passwd user` and set your password Then we need the user to able to act as superuser. So, we edit `visudo` and add this line at the bottom: `user ALL=(ALL:ALL)ALL` save it and press ctrl + alt + f3, login as user you just set. Clone the bcache-tools AUR repo: `git clone https://aur.archlinux.org/bcache-tools.git && cd bcache-tools`\n
        \n
        If you want you can inspect the PKGBUILD, but we will proceed to make it, type:\n
        \n
        `makepkg -sri`\n
        \n
        Once it is done, it will throw error about vmliuz is not found, but the package itself is installed, you just need to tell the kernel to load it. We can achieve that by executing:\n
        \n
        `sudo modprobe bcache && sudo partprobe`\n
        \n
        Fouth: Configuring the bcache, btrfs, and raid0 List your drive with `lsblk` identify your HDD and your SSD. Let’s say in this instance, we have /dev/sda and /dev/sdb as our HDD and /dev/nvme0n1 as our SSD. I use cfdisk to partition my drive, but you can use whatever you want. I make one partition for both HDD, sda1 and sdb1, and make 3 partitions for my SSD. DO NOT FORMATI IT YET. /dev/sda1 : 500 GB HDD with 500GB partition /dev/sdb1 : same as before /dev/nvme0n1p1 : 118G SSD partition as the cache /dev/nvme0n1p2 : 1G partition as /boot. Even if you have one kernel, do not make a /boot partition less than 1G. I knew it in hard way. /dev/nvme0n1p3 : 200M partition as /boot/efi. Same as before, better safe than sorry. YOU NEED TO HAVE SEPARATE BOOT AND EFI PARTITION, OTHERWISE YOU WILL HAVE AN UNBOOTABLE SYSTEM!\n
        \n
        Okay, now we configure our raid.\n
        \n
        `make-bcache -B /dev/sda1 /dev/sdb1`\n
        \n
        This command will make a partition (?) called bcache0 and bcache1 under both /dev/sdb and /dev/sda if you use\n
        \n
        `lsblk`\n
        \n
        Now, we make raid out of those two.\n
        \n
        `mkfs.btrfs -L ARCHACHED -d raid0 /dev/bcache0 /dev/bcache1`\n
        \n
        Then the cache.\n
        \n
        `make-bcache -C /dev/nvme0n1p1`\n
        \n
        We can register the cache for our raid setup by its cset.uuid. To know what is the uuid, we can use this command.\n
        \n
        `bcache-super-show /dev/nvme0n1p1 |grep cset.uuid`\n
        \n
        Example of the output is:\n
        \n
        `cset.uuid fc3aac3b-9663-4067-88af-c5066a6c661b`\n
        \n
        From that, we can register it by using this command:\n
        \n
        `echo fc3aac3b-9663-4067-88af-c5066a6c661b > /sys/block/bcache0/bcache/attach`\n
        \n
        `echo fc3aac3b-9663-4067-88af-c5066a6c661b > /sys/block/bcache1/bcache/attach`\n
        \n
        Done! If you `lsblk` now, you can see that there is bcache0 and bcache1 under the nvme0n1p1 partition.\n
        \n
        Now, we can configure our boot partition.\n
        \n
        `mkfs.ext4 /dev/nvme0n1p2` (Remember, this is the 1G partition)\n
        \n
        `mkfs.vfat -F 32 /dev/nvme0n1p3` (Remember, this is the 200M partition)\n
        \n
        We can then mount all of those drive to install Arch.\n
        \n
        `mount /dev/bcache0 /mnt`\n
        \n
        `btrfs subvolume create /mnt/root`\n
        \n
        `btrfs subvolume create /mnt/var` (optional)\n
        \n
        `btrfs subvolume create /mnt/home` (optional)\n
        \n
        `umount /mnt`\n
        \n
        `mount /dev/bcache0 -o subvol=root,compress=lzo /mnt/`\n
        \n
        `mount --mkdir /dev/bcache0 -o subvol=home,compress=lzo /mnt/home`\n
        \n
        `mount --mkdir /dev/bcache0 -o subvol=var,compress=lzo /mnt/var`\n
        \n
        `mount --mkdir /dev/nvme0n1p2 /mnt/boot`\n
        \n
        `mount --mkdir /dev/nvme0n1p3 /mnt/boot/efi`\n
        \n
        Fifth: Install Arch Follow arch wiki, lol.\n
        \n
        Last: bcache-tools, mkinitcpio, and grub. Go back to tty3, the user one. And copy the bcache-tools package to your newly installed /mnt\n
        \n
        `sudo cp bcache-tools-1.1-1-x86_64.pkg.tar.zst /mnt`\n
        \n
        Then go back tty1 and install it on you arch-chroot.\n
        \n
        `pacman -U bcache-tools-1.1-1-x86_64.pkg.tar.zst`\n
        \n
        Now, we configure the mkinitcpio. Edit your mkinitcpio by using you editor of choice. And add bcache in in MODULES so it looks like this:\n
        \n
        `MODULES=(bcache)`\n
        \n
        And in HOOKS, add it after block and before filesystem. Example:\n
        \n
        `HOOKS=(base udev block bcache flesystem)`\n
        \n
        Make your initcpio by executing this command:\n
        \n
        `mkinitcpio -p linux`\n
        \n
        Grub is the last. Install it as usual. Just make sure you did the partition right, as mentioned before.\n
        \n
        That’s it. You just install Arch Linux on a bcache system. It’s complicated, and headache inducing for sure, but I assure you it is totally worth that pain.\n
        \n
        Note: If you have problem after you reboot, and want to arch-chroot, you need to install bcache-tools again. If you want to reformat anything and it shows the device as busy after you did the `partprobe`, you need to tell the kernel to stop any activity to the drive. In this example the sda is the one you want to edit.\n
        \n
        `echo 1 > /sys/block/sda/sda1/bcache/stop`\n
        \n
        Now, if you accidentally execute the command, you can use `partprobe` again to show it up.\n
        \n
        Reference: [wiki.archlinux.org/title/bcache](https://wiki.archlinux.org/title/bcache)[wiki.archlinux.org/title/btrfs](https://wiki.archlinux.org/title/btrfs)[gist.github.com/…/4c1492f537d9785e19406eb5cd99173…](https://gist.github.com/HardenedArray/4c1492f537d9785e19406eb5cd991735)[…kernel.org/…/Using_Btrfs_with_Multiple_Devices.h…](https://archive.kernel.org/oldwiki/btrfs.wiki.kernel.org/index.php/Using_Btrfs_with_Multiple_Devices.html)
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 22
      +favouriteCount: 131
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1700152658 {#1526
        date: 2023-11-16 17:37:38.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1727 …}
      +votes: Doctrine\ORM\PersistentCollection {#1733 …}
      +reports: Doctrine\ORM\PersistentCollection {#1719 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1691 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1711 …}
      +badges: Doctrine\ORM\PersistentCollection {#1621 …}
      +children: [
        App\Entity\EntryComment {#1697}
      ]
      -id: 13261
      -titleTs: "'amaz':3 'bcach':1 'faster':7 'hdd':5 'make':4 'way':6"
      -bodyTs: "'-15':125 '-4067':748,766,775 '-88':749,767,776 '-9663':747,765,774 '/4c1492f537d9785e19406eb5cd99173':1131 '/bcache-tools.git':448 '/boot':606,617 '/boot/efi':632 '/comment/5577205)from':40 '/dev/bcache0':700,836,855,864,873 '/dev/bcache1':701 '/dev/nvme0n1':544 '/dev/nvme0n1p1':595,709,737 '/dev/nvme0n1p2':602,807,882 '/dev/nvme0n1p3':628,817,886 '/dev/sda':537,682 '/dev/sda1':584,666 '/dev/sdb':539,680 '/dev/sdb1':591,667 '/hardenedarray/4c1492f537d9785e19406eb5cd991735)[':1134 '/mnt':837,853,861,920,924 '/mnt/boot':883 '/mnt/boot/efi':887 '/mnt/home':850,870 '/mnt/root':841 '/mnt/var':845,879 '/news/btrfs-raid-56-is-bad)':239 '/oldwiki/btrfs.wiki.kernel.org/index.php/using_btrfs_with_multiple_devices.html)':1139 '/post/7585833).':59 '/run/archiso/cowspace':323 '/sys/block/bcache0/bcache/attach':771 '/sys/block/bcache1/bcache/attach':780 '/sys/block/sda/sda1/bcache/stop':1110 '/sys/firmware/efi/efivars':296 '/title/bcache](https://wiki.archlinux.org/title/bcache)[wiki.archlinux.org/title/btrfs](https://wiki.archlinux.org/title/btrfs)[gist.github.com/':1130 '/u/d3xt3r@lemmy.nz)':44 '/using_btrfs_with_multiple_devices.h':1136 '1':1109 '10':124 '118g':596 '120gb':67 '15':76 '1g':603,621,812 '200m':629,822 '2nd':348 '2x500gb':64 '3':574 '32':816 '4':211,252 '500':585 '500gb':589 '8g':322 '8gb':251,261 'abl':403 'accident':1114 'achiev':502 'act':405 'activ':1092 'actual':51 'add':413,955,970 'af':751,769,778 'af-c5066a6c661b':750,768,777 'alt':353,429 'alway':7 'amaz':148 'answer':34,37 'anyon':180 'anyth':81,192,219,1070 'app':225 'arch':244,272,834,890,892,935,1019,1055 'arch-chroot':934,1054 'archach':697 'archive.kernel.org':1138 'archive.kernel.org/oldwiki/btrfs.wiki.kernel.org/index.php/using_btrfs_with_multiple_devices.html)':1137 'ask':23 'assur':1035 'aur':317,442 'aur.archlinux.org':447 'aur.archlinux.org/bcache-tools.git':446 'b':665 'back':903,927 'base':327,334,979 'base-devel':326,333 'basic':20 'bcach':284,299,440,451,508,514,664,707,734,897,913,956,966,982,1023,1062 'bcache-super-show':733 'bcache-tool':439,450,896,912,1061 'bcache-tools-1.1-1-x86_64.pkg.tar.zst':923,939 'bcache0':675,792 'bcache1':677,794 'better':636 'bg3':96 'block':973,981 'boot':145,290,645,804 'bottom':418 'boy':89 'btrfs':515,838,842,847 'busi':1077 'buy':63,210 'c':708 'c5066a6c661b':752,770,779 'cach':601,704,714 'call':674 'care':130 'cd':449 'cfdisk':550 'cheap':72,74 'cheapest':201 'choic':953 'chroot':936,1056 'clone':437,445 'command':669,732,762,990,1117 'complic':1027 'compress':859,868,877 'configur':54,512,659,802,942 'confus':170 'copi':910 'cp':922 'creat':840,844,849 'cset.uuid':721,739,745 'ctrl':352,428 'd':698 'd3xter':41 'data':187 'decid':61 'devel':328,335 'devic':1075 'differ':109,152 'distro':270 'done':474,781 'drive':285,520,554,831,1095 'easiest':275 'echo':763,772,1108 'edit':410,945,1107 'editor':951 'efi':647 'els':205 'endless':21 'error':478 'even':607 'ever':14 'everyday':16 'exampl':740,977,1098 'execut':505,988,1115 'f':815 'f2':354 'f3':430 'fast':121 'favor':197 'fc3aac3b':746,764,773 'fifth':888 'figur':48 'filesystem':976 'finish':371 'first':182 'flesystem':983 'follow':891 'formati':581 'found':483 'fouth':511 'g':388 'game':98,222 'gb':586 'get':92,214,241 'gist.github.com':1133 'gist.github.com/hardenedarray/4c1492f537d9785e19406eb5cd991735)[':1132 'git':330,336,444 'go':346,902,926 'got':29 'grep':738 'grub':901,994 'guid':178 'hard':626 'hdd':65,157,212,525,542,568,587 'headach':1029 'hell':172 'help':33,46 'home':867 'hook':969,978 'howev':35 'identifi':523 'ignor':337 'import':195 'induc':1030 'initcpio':986 'insan':165 'inspect':458 'instal':168,280,298,325,489,833,889,919,930,998,1018,1060 'instanc':534 'internet':303,343 'interst':181 'iso':311 'kernel':496,612,1088 'kernel.org':1135 'knew':623 'know':723 'l':696 'last':26,160,895,997 'least':250 'lemmy.ml':39,43,58 'lemmy.ml/comment/5577205)from':38 'lemmy.ml/post/7585833).':57 'lemmy.ml/u/d3xt3r@lemmy.nz)':42 'less':619 'let':529 'like':75,963 'line':415 'linux':4,13,338,993,1020 'list':518 'live':245,306,310 'load':119,142,498 'login':356,431 'lol':894 'look':962 'lost':86 'lot':31 'love':3,12 'ls':295 'lsblk':522,686,784 'lzo':860,869,878 'm':387 'make':287,466,563,573,615,663,671,689,706,984,1003 'make-bcach':662,705 'makepkg':379,469 'mayb':123 'mention':1011 'might':253 'mkdir':863,872,881,885 'mkfs.btrfs':695 'mkfs.ext4':806 'mkfs.vfat':814 'mkinitcpio':899,944,947,991 'modprob':507 'modul':959,965 'mount':318,827,835,854,862,871,880,884 'need':135,373,399,492,641,1058,1084 'new':116 'newli':918 'next':363 'note':1043 'noth':87 'notic':150 'nvme':68 'nvme0n1p1':797 'o':319,856,865,874 'okay':1,656 'old':112 'one':257,564,611,908,1103 'option':846,851 'otherwis':365,649 'output':743 'p':992 'packag':486,915 'pacman':331,937 'pain':1042 'partit':552,565,575,590,598,604,618,630,648,673,798,805,813,823,1008 'partprob':510,1082,1121 'passwd':391 'password':396 'perform':103,198 'pkgbuild':460 'possibl':18,202 'press':351,427 'problem':1047 'proceed':464 'process':369 'pseudo':177 'pseudo-guid':176 'raid':661,690,717 'raid0':25,517,699 'raid10':215 'raid5':231 'realli':45 'reboot':1050 'refer':1127 'reformat':1069 'regist':712,757 'rememb':808,818 'remot':193 'remount':308,320 'repo':443 'requir':100 'right':1009 'root':358,383,858 'run':381 'safe':637 'save':424 'say':531 'sda':1100 'sda1':569 'sdb1':571 'second':240 'see':107,788 'separ':644 'set':394,436 'setup':117,162,190,234,375,718 'show':736,1073,1124 'sinc':378 'size':321 'slow':342 'slower':127 'smallest':256 'sorri':639 'sri':470 'ssd':69,101,113,161,528,547,578,597 'step':364 'stick':247 'stop':1090 'store':185,218 'subvol':857,866,875 'subvolum':839,843,848 'suck':236 'sudo':506,509,921 'super':735 'superus':407 'sure':288,1004,1032 'surpris':8,93 'system':56,307,655,1024 'tell':494,1086 'test':95 'textur':140 'think':263 'third':297 'throw':477 'time':146 'tool':441,452,898,914,1063 'total':77,1039 'tti':349 'tty1':928 'tty3':905 'two':694 'type':294,385,468 'u':938 'udev':980 'uefi':292 'umount':852 'unboot':654 'unless':206 'usb':246 'use':230,266,315,549,558,685,730,760,949,1120 'user':377,390,392,401,419,433,907 'useradd':386 'usual':1001 'uuid':727 'var':876 'visudo':411 'vmliuz':480 'wait':137,366 'want':52,208,278,455,561,1052,1067,1105 'way':627 'week':27 'well':104,122 'whatev':559 'wheel':389 'wiki':893 'wiki.archlinux.org':1129 'wiki.archlinux.org/title/bcache](https://wiki.archlinux.org/title/bcache)[wiki.archlinux.org/title/btrfs](https://wiki.archlinux.org/title/btrfs)[gist.github.com/':1128 'wont':380 'work':254 'worth':1040 'write':174 'wrong':82 'www.phoronix.com':238 'www.phoronix.com/news/btrfs-raid-56-is-bad)':237 'yet':583"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1700146309
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/8002348"
      +editedAt: DateTimeImmutable @1700319306 {#1693
        date: 2023-11-18 15:55:06.0 +01:00
      }
      +createdAt: DateTimeImmutable @1700059909 {#1550
        date: 2023-11-15 15:51:49.0 +01:00
      }
      +__isInitialized__: true
       …2
    }
    +magazine: Proxies\__CG__\App\Entity\Magazine {#1579 …2}
    +image: null
    +parent: null
    +root: null
    +body: """
      Thanks for writing this! Getting bcache set up the first time can be confusing, so this certainly helps.\n
      \n
      I’ll just drop one warning in here. With a setup very much like described here I’ve had severe data corruption and loss, so please make sure your data is properly and regularly backed up. To me it seemed like almost any unexpected or untimely power off would cause some data loss or significant corruption.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 6
    +score: 0
    +lastActive: DateTime @1700129102 {#1439
      date: 2023-11-16 11:05:02.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@Uluganda@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#1580 …}
    +nested: Doctrine\ORM\PersistentCollection {#1583 …}
    +votes: Doctrine\ORM\PersistentCollection {#1582 …}
    +reports: Doctrine\ORM\PersistentCollection {#1589 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1572 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1666 …}
    -id: 129669
    -bodyTs: "'almost':60 'back':53 'bcach':6 'caus':68 'certain':17 'confus':14 'corrupt':40,74 'data':39,48,70 'describ':33 'drop':22 'first':10 'get':5 'help':18 'like':32,59 'll':20 'loss':42,71 'make':45 'much':31 'one':23 'pleas':44 'power':65 'proper':50 'regular':52 'seem':58 'set':7 'setup':29 'sever':38 'signific':73 'sure':46 'thank':1 'time':11 'unexpect':62 'untim':64 've':36 'warn':24 'would':67 'write':3"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.ml/comment/5846844"
    +editedAt: null
    +createdAt: DateTimeImmutable @1700129102 {#1435
      date: 2023-11-16 11:05:02.0 +01:00
    }
    +"title": 129669
  }
  +showMagazineName: false
  +showEntryTitle: false
  +showNested: false
  +level: 1
  +canSeeTrash: false
  +dateAsUrl: true
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
  -authorizationChecker: Symfony\Component\Security\Core\Authorization\AuthorizationChecker {#931 …}
}
user_inline App\Twig\Components\UserInlineComponent 12.0 MiB 0.18 ms
Input props
[
  "user" => App\Entity\User {#265
    +avatar: null
    +cover: null
    +email: "bitduck@lemmy.ml"
    +username: "@bitduck@lemmy.ml"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1700395689 {#275
      date: 2023-11-19 13:08:09.0 +01:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#253 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#249 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#238 …}
    +entries: Doctrine\ORM\PersistentCollection {#196 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#168 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#141 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#111 …}
    +posts: Doctrine\ORM\PersistentCollection {#84 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#99 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1863 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1479 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1658 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1868 …}
    +follows: Doctrine\ORM\PersistentCollection {#1917 …}
    +followers: Doctrine\ORM\PersistentCollection {#1601 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1805 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1810 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1857 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1860 …}
    +reports: Doctrine\ORM\PersistentCollection {#1791 …}
    +favourites: Doctrine\ORM\PersistentCollection {#2416 …}
    +violations: Doctrine\ORM\PersistentCollection {#1824 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1914 …}
    +awards: Doctrine\ORM\PersistentCollection {#1929 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1867 …}
    +categories: Doctrine\ORM\PersistentCollection {#1880 …}
    -id: 76975
    -password: "$2y$13$nWTr0Xo0QFv5mDVXtKX71uDGR7vOEEnFx2jZ2jyBp0Q0cMjykForC"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1894 …}
    +apId: "bitduck@lemmy.ml"
    +apProfileId: "https://lemmy.ml/u/bitduck"
    +apPublicUrl: "https://lemmy.ml/u/bitduck"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "bitduck"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1726542633 {#269
      date: 2024-09-17 05:10:33.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1700395689 {#268
      date: 2023-11-19 13:08:09.0 +01:00
    }
  }
  "showAvatar" => false
]
Attributes
[]
Component
App\Twig\Components\UserInlineComponent {#4030
  +user: App\Entity\User {#265
    +avatar: null
    +cover: null
    +email: "bitduck@lemmy.ml"
    +username: "@bitduck@lemmy.ml"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1700395689 {#275
      date: 2023-11-19 13:08:09.0 +01:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#253 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#249 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#238 …}
    +entries: Doctrine\ORM\PersistentCollection {#196 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#168 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#141 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#111 …}
    +posts: Doctrine\ORM\PersistentCollection {#84 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#99 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1863 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1479 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1658 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1868 …}
    +follows: Doctrine\ORM\PersistentCollection {#1917 …}
    +followers: Doctrine\ORM\PersistentCollection {#1601 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1805 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1810 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1857 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1860 …}
    +reports: Doctrine\ORM\PersistentCollection {#1791 …}
    +favourites: Doctrine\ORM\PersistentCollection {#2416 …}
    +violations: Doctrine\ORM\PersistentCollection {#1824 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1914 …}
    +awards: Doctrine\ORM\PersistentCollection {#1929 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1867 …}
    +categories: Doctrine\ORM\PersistentCollection {#1880 …}
    -id: 76975
    -password: "$2y$13$nWTr0Xo0QFv5mDVXtKX71uDGR7vOEEnFx2jZ2jyBp0Q0cMjykForC"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1894 …}
    +apId: "bitduck@lemmy.ml"
    +apProfileId: "https://lemmy.ml/u/bitduck"
    +apPublicUrl: "https://lemmy.ml/u/bitduck"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "bitduck"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1726542633 {#269
      date: 2024-09-17 05:10:33.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1700395689 {#268
      date: 2023-11-19 13:08:09.0 +01:00
    }
  }
  +showAvatar: false
}
date App\Twig\Components\DateComponent 12.0 MiB 0.19 ms
Input props
[
  "date" => DateTimeImmutable @1700129102 {#1435
    date: 2023-11-16 11:05:02.0 +01:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateComponent {#4088
  +date: DateTimeImmutable @1700129102 {#1435
    date: 2023-11-16 11:05:02.0 +01:00
  }
}
date_edited App\Twig\Components\DateEditedComponent 12.0 MiB 0.11 ms
Input props
[
  "createdAt" => DateTimeImmutable @1700129102 {#1435
    date: 2023-11-16 11:05:02.0 +01:00
  }
  "editedAt" => null
]
Attributes
[]
Component
App\Twig\Components\DateEditedComponent {#4142
  +createdAt: DateTimeImmutable @1700129102 {#1435
    date: 2023-11-16 11:05:02.0 +01:00
  }
  +editedAt: null
}
user_avatar App\Twig\Components\UserAvatarComponent 12.0 MiB 0.30 ms
Input props
[
  "user" => App\Entity\User {#265
    +avatar: null
    +cover: null
    +email: "bitduck@lemmy.ml"
    +username: "@bitduck@lemmy.ml"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1700395689 {#275
      date: 2023-11-19 13:08:09.0 +01:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#253 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#249 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#238 …}
    +entries: Doctrine\ORM\PersistentCollection {#196 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#168 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#141 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#111 …}
    +posts: Doctrine\ORM\PersistentCollection {#84 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#99 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1863 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1479 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1658 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1868 …}
    +follows: Doctrine\ORM\PersistentCollection {#1917 …}
    +followers: Doctrine\ORM\PersistentCollection {#1601 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1805 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1810 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1857 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1860 …}
    +reports: Doctrine\ORM\PersistentCollection {#1791 …}
    +favourites: Doctrine\ORM\PersistentCollection {#2416 …}
    +violations: Doctrine\ORM\PersistentCollection {#1824 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1914 …}
    +awards: Doctrine\ORM\PersistentCollection {#1929 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1867 …}
    +categories: Doctrine\ORM\PersistentCollection {#1880 …}
    -id: 76975
    -password: "$2y$13$nWTr0Xo0QFv5mDVXtKX71uDGR7vOEEnFx2jZ2jyBp0Q0cMjykForC"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1894 …}
    +apId: "bitduck@lemmy.ml"
    +apProfileId: "https://lemmy.ml/u/bitduck"
    +apPublicUrl: "https://lemmy.ml/u/bitduck"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "bitduck"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1726542633 {#269
      date: 2024-09-17 05:10:33.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1700395689 {#268
      date: 2023-11-19 13:08:09.0 +01:00
    }
  }
  "width" => 40
  "height" => 40
  "asLink" => true
]
Attributes
[]
Component
App\Twig\Components\UserAvatarComponent {#4198
  +width: 40
  +height: 40
  +user: App\Entity\User {#265
    +avatar: null
    +cover: null
    +email: "bitduck@lemmy.ml"
    +username: "@bitduck@lemmy.ml"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1700395689 {#275
      date: 2023-11-19 13:08:09.0 +01:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#253 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#249 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#238 …}
    +entries: Doctrine\ORM\PersistentCollection {#196 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#168 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#141 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#111 …}
    +posts: Doctrine\ORM\PersistentCollection {#84 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#99 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1863 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1479 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1658 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1868 …}
    +follows: Doctrine\ORM\PersistentCollection {#1917 …}
    +followers: Doctrine\ORM\PersistentCollection {#1601 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1805 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1810 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1857 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1860 …}
    +reports: Doctrine\ORM\PersistentCollection {#1791 …}
    +favourites: Doctrine\ORM\PersistentCollection {#2416 …}
    +violations: Doctrine\ORM\PersistentCollection {#1824 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1914 …}
    +awards: Doctrine\ORM\PersistentCollection {#1929 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1867 …}
    +categories: Doctrine\ORM\PersistentCollection {#1880 …}
    -id: 76975
    -password: "$2y$13$nWTr0Xo0QFv5mDVXtKX71uDGR7vOEEnFx2jZ2jyBp0Q0cMjykForC"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1894 …}
    +apId: "bitduck@lemmy.ml"
    +apProfileId: "https://lemmy.ml/u/bitduck"
    +apPublicUrl: "https://lemmy.ml/u/bitduck"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "bitduck"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1726542633 {#269
      date: 2024-09-17 05:10:33.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1700395689 {#268
      date: 2023-11-19 13:08:09.0 +01:00
    }
  }
  +asLink: true
}
vote App\Twig\Components\VoteComponent 12.0 MiB 0.56 ms
Input props
[
  "subject" => App\Entity\EntryComment {#1697
    +user: App\Entity\User {#265
      +avatar: null
      +cover: null
      +email: "bitduck@lemmy.ml"
      +username: "@bitduck@lemmy.ml"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1700395689 {#275
        date: 2023-11-19 13:08:09.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#253 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#249 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#238 …}
      +entries: Doctrine\ORM\PersistentCollection {#196 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#168 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#141 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#111 …}
      +posts: Doctrine\ORM\PersistentCollection {#84 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#99 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1863 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1479 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1658 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1868 …}
      +follows: Doctrine\ORM\PersistentCollection {#1917 …}
      +followers: Doctrine\ORM\PersistentCollection {#1601 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1805 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1810 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1857 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1860 …}
      +reports: Doctrine\ORM\PersistentCollection {#1791 …}
      +favourites: Doctrine\ORM\PersistentCollection {#2416 …}
      +violations: Doctrine\ORM\PersistentCollection {#1824 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1914 …}
      +awards: Doctrine\ORM\PersistentCollection {#1929 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1867 …}
      +categories: Doctrine\ORM\PersistentCollection {#1880 …}
      -id: 76975
      -password: "$2y$13$nWTr0Xo0QFv5mDVXtKX71uDGR7vOEEnFx2jZ2jyBp0Q0cMjykForC"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1894 …}
      +apId: "bitduck@lemmy.ml"
      +apProfileId: "https://lemmy.ml/u/bitduck"
      +apPublicUrl: "https://lemmy.ml/u/bitduck"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "bitduck"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1726542633 {#269
        date: 2024-09-17 05:10:33.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1700395689 {#268
        date: 2023-11-19 13:08:09.0 +01:00
      }
    }
    +entry: Proxies\__CG__\App\Entity\Entry {#1592
      +user: Proxies\__CG__\App\Entity\User {#2458
        +avatar: null
        +cover: null
        +email: "Uluganda@lemmy.ml"
        +username: "@Uluganda@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1700365066 {#3317
          date: 2023-11-19 04:37:46.0 +01:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#3320 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#3322 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#3324 …}
        +entries: Doctrine\ORM\PersistentCollection {#3326 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#3328 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#3330 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3332 …}
        +posts: Doctrine\ORM\PersistentCollection {#3334 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#3336 …}
        +postComments: Doctrine\ORM\PersistentCollection {#3338 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#3340 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#3342 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#3344 …}
        +follows: Doctrine\ORM\PersistentCollection {#3346 …}
        +followers: Doctrine\ORM\PersistentCollection {#3348 …}
        +blocks: Doctrine\ORM\PersistentCollection {#3350 …}
        +blockers: Doctrine\ORM\PersistentCollection {#3352 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#3354 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#3356 …}
        +reports: Doctrine\ORM\PersistentCollection {#3358 …}
        +favourites: Doctrine\ORM\PersistentCollection {#3360 …}
        +violations: Doctrine\ORM\PersistentCollection {#3362 …}
        +notifications: Doctrine\ORM\PersistentCollection {#3364 …}
        +awards: Doctrine\ORM\PersistentCollection {#3366 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#3368 …}
        +categories: Doctrine\ORM\PersistentCollection {#3370 …}
        -id: 9933
        -password: "$2y$13$Cd0jic67tC6T7tuaqa7iWewkFHt3J3XyusH8Bh.FZvcZOPIwsBfA6"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#3372 …}
        +apId: "Uluganda@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/Uluganda"
        +apPublicUrl: "https://lemmy.ml/u/Uluganda"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "Uluganda"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1707245788 {#3318
          date: 2024-02-06 19:56:28.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687567147 {#3319
          date: 2023-06-24 02:39:07.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: Proxies\__CG__\App\Entity\Magazine {#1579
        +icon: Proxies\__CG__\App\Entity\Image {#2847 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#2826
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#2846 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#2844 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#2849 …}
        +entries: Doctrine\ORM\PersistentCollection {#2850 …}
        +posts: Doctrine\ORM\PersistentCollection {#2853 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#2855 …}
        +bans: Doctrine\ORM\PersistentCollection {#2861 …}
        +reports: Doctrine\ORM\PersistentCollection {#2869 …}
        +badges: Doctrine\ORM\PersistentCollection {#2882 …}
        +logs: Doctrine\ORM\PersistentCollection {#2892 …}
        +awards: Doctrine\ORM\PersistentCollection {#2874 …}
        +categories: Doctrine\ORM\PersistentCollection {#2898 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#2827
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#2828
          date: 2023-11-02 13:51:08.0 +01:00
        }
        +__isInitialized__: true
         …2
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1732 …}
      +slug: "Bcache-is-amazing-Making-HDD-way-faster"
      +title: "Bcache is amazing!: Making HDD way faster!"
      +url: null
      +body: """
        Okay, I love Linux. But I always surprised that I can love Linux ever more everyday. The possibility is basically endless!\n
        \n
        I asked about raid0 last week and got a lot of helpful answers. However, this[ answer ](https://lemmy.ml/comment/5577205)from [d3Xter](https://lemmy.ml/u/d3Xt3r@lemmy.nz) really helped me figures how I actually want to [configure my system](https://lemmy.ml/post/7585833). I decided to buy 2x500GB HDD and 120GB NVME SSD. It’s cheap, very cheap. Like $15 total. If there is anything wrong with them, I lost nothing. But boy did I get surprised. I tested BG3, a game that requires SSD to perform well and I see no difference between my old SSD and my new setup. It loads as fast (well, maybe 10-15s slower, but who cares?), and I do not need to wait for the textures to load, at all. Boot time is amazing. I notice no difference at all between this HDD and my last SSD setup. Which is insane!\n
        \n
        But the installation is confusing as hell. I write this pseudo-guide for anyone intersted.\n
        \n
        FIRST: DO NOT STORE ANY DATA IN THIS SETUP FOR ANYTHING REMOTE TO IMPORTANT!\n
        \n
        I favor performance for the cheapest possible above all else. Unless you want to buy 4 HDD to get raid10, do not store anything other than games and your apps on it. Do not use raid5 in this setup, [it sucks.](https://www.phoronix.com/news/Btrfs-RAID-56-Is-Bad)\n
        \n
        Second: Get yourself an Arch live USB stick with at least 8GB (4 might works, but smallest one I have is 8GB). I think you can use it on other distro, but Arch is the easiest if you want to install IT on the bcache drive. And make sure you booted into UEFI by typing:\n
        \n
        `ls /sys/firmware/efi/efivars/`\n
        \n
        Third: Installing bcache. After you have internet on your live system, remount your live iso so we can use the AUR.\n
        \n
        `mount -o remount,size=8G /run/archiso/cowspace`\n
        \n
        Then, install base-devel and git\n
        \n
        `pacman -S base-devel git --ignore linux`\n
        \n
        If you have slow internet, you can go to 2nd tty by pressing ctrl + alt + f2 and login as root there to do the next step, otherwise wait for the process to finish. We need to setup a user since makepkg wont run on root. So, type:\n
        \n
        `useradd -m -G wheel user && passwd user` and set your password Then we need the user to able to act as superuser. So, we edit `visudo` and add this line at the bottom: `user ALL=(ALL:ALL)ALL` save it and press ctrl + alt + f3, login as user you just set. Clone the bcache-tools AUR repo: `git clone https://aur.archlinux.org/bcache-tools.git && cd bcache-tools`\n
        \n
        If you want you can inspect the PKGBUILD, but we will proceed to make it, type:\n
        \n
        `makepkg -sri`\n
        \n
        Once it is done, it will throw error about vmliuz is not found, but the package itself is installed, you just need to tell the kernel to load it. We can achieve that by executing:\n
        \n
        `sudo modprobe bcache && sudo partprobe`\n
        \n
        Fouth: Configuring the bcache, btrfs, and raid0 List your drive with `lsblk` identify your HDD and your SSD. Let’s say in this instance, we have /dev/sda and /dev/sdb as our HDD and /dev/nvme0n1 as our SSD. I use cfdisk to partition my drive, but you can use whatever you want. I make one partition for both HDD, sda1 and sdb1, and make 3 partitions for my SSD. DO NOT FORMATI IT YET. /dev/sda1 : 500 GB HDD with 500GB partition /dev/sdb1 : same as before /dev/nvme0n1p1 : 118G SSD partition as the cache /dev/nvme0n1p2 : 1G partition as /boot. Even if you have one kernel, do not make a /boot partition less than 1G. I knew it in hard way. /dev/nvme0n1p3 : 200M partition as /boot/efi. Same as before, better safe than sorry. YOU NEED TO HAVE SEPARATE BOOT AND EFI PARTITION, OTHERWISE YOU WILL HAVE AN UNBOOTABLE SYSTEM!\n
        \n
        Okay, now we configure our raid.\n
        \n
        `make-bcache -B /dev/sda1 /dev/sdb1`\n
        \n
        This command will make a partition (?) called bcache0 and bcache1 under both /dev/sdb and /dev/sda if you use\n
        \n
        `lsblk`\n
        \n
        Now, we make raid out of those two.\n
        \n
        `mkfs.btrfs -L ARCHACHED -d raid0 /dev/bcache0 /dev/bcache1`\n
        \n
        Then the cache.\n
        \n
        `make-bcache -C /dev/nvme0n1p1`\n
        \n
        We can register the cache for our raid setup by its cset.uuid. To know what is the uuid, we can use this command.\n
        \n
        `bcache-super-show /dev/nvme0n1p1 |grep cset.uuid`\n
        \n
        Example of the output is:\n
        \n
        `cset.uuid fc3aac3b-9663-4067-88af-c5066a6c661b`\n
        \n
        From that, we can register it by using this command:\n
        \n
        `echo fc3aac3b-9663-4067-88af-c5066a6c661b > /sys/block/bcache0/bcache/attach`\n
        \n
        `echo fc3aac3b-9663-4067-88af-c5066a6c661b > /sys/block/bcache1/bcache/attach`\n
        \n
        Done! If you `lsblk` now, you can see that there is bcache0 and bcache1 under the nvme0n1p1 partition.\n
        \n
        Now, we can configure our boot partition.\n
        \n
        `mkfs.ext4 /dev/nvme0n1p2` (Remember, this is the 1G partition)\n
        \n
        `mkfs.vfat -F 32 /dev/nvme0n1p3` (Remember, this is the 200M partition)\n
        \n
        We can then mount all of those drive to install Arch.\n
        \n
        `mount /dev/bcache0 /mnt`\n
        \n
        `btrfs subvolume create /mnt/root`\n
        \n
        `btrfs subvolume create /mnt/var` (optional)\n
        \n
        `btrfs subvolume create /mnt/home` (optional)\n
        \n
        `umount /mnt`\n
        \n
        `mount /dev/bcache0 -o subvol=root,compress=lzo /mnt/`\n
        \n
        `mount --mkdir /dev/bcache0 -o subvol=home,compress=lzo /mnt/home`\n
        \n
        `mount --mkdir /dev/bcache0 -o subvol=var,compress=lzo /mnt/var`\n
        \n
        `mount --mkdir /dev/nvme0n1p2 /mnt/boot`\n
        \n
        `mount --mkdir /dev/nvme0n1p3 /mnt/boot/efi`\n
        \n
        Fifth: Install Arch Follow arch wiki, lol.\n
        \n
        Last: bcache-tools, mkinitcpio, and grub. Go back to tty3, the user one. And copy the bcache-tools package to your newly installed /mnt\n
        \n
        `sudo cp bcache-tools-1.1-1-x86_64.pkg.tar.zst /mnt`\n
        \n
        Then go back tty1 and install it on you arch-chroot.\n
        \n
        `pacman -U bcache-tools-1.1-1-x86_64.pkg.tar.zst`\n
        \n
        Now, we configure the mkinitcpio. Edit your mkinitcpio by using you editor of choice. And add bcache in in MODULES so it looks like this:\n
        \n
        `MODULES=(bcache)`\n
        \n
        And in HOOKS, add it after block and before filesystem. Example:\n
        \n
        `HOOKS=(base udev block bcache flesystem)`\n
        \n
        Make your initcpio by executing this command:\n
        \n
        `mkinitcpio -p linux`\n
        \n
        Grub is the last. Install it as usual. Just make sure you did the partition right, as mentioned before.\n
        \n
        That’s it. You just install Arch Linux on a bcache system. It’s complicated, and headache inducing for sure, but I assure you it is totally worth that pain.\n
        \n
        Note: If you have problem after you reboot, and want to arch-chroot, you need to install bcache-tools again. If you want to reformat anything and it shows the device as busy after you did the `partprobe`, you need to tell the kernel to stop any activity to the drive. In this example the sda is the one you want to edit.\n
        \n
        `echo 1 > /sys/block/sda/sda1/bcache/stop`\n
        \n
        Now, if you accidentally execute the command, you can use `partprobe` again to show it up.\n
        \n
        Reference: [wiki.archlinux.org/title/bcache](https://wiki.archlinux.org/title/bcache)[wiki.archlinux.org/title/btrfs](https://wiki.archlinux.org/title/btrfs)[gist.github.com/…/4c1492f537d9785e19406eb5cd99173…](https://gist.github.com/HardenedArray/4c1492f537d9785e19406eb5cd991735)[…kernel.org/…/Using_Btrfs_with_Multiple_Devices.h…](https://archive.kernel.org/oldwiki/btrfs.wiki.kernel.org/index.php/Using_Btrfs_with_Multiple_Devices.html)
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 22
      +favouriteCount: 131
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1700152658 {#1526
        date: 2023-11-16 17:37:38.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1727 …}
      +votes: Doctrine\ORM\PersistentCollection {#1733 …}
      +reports: Doctrine\ORM\PersistentCollection {#1719 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1691 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1711 …}
      +badges: Doctrine\ORM\PersistentCollection {#1621 …}
      +children: [
        App\Entity\EntryComment {#1697}
      ]
      -id: 13261
      -titleTs: "'amaz':3 'bcach':1 'faster':7 'hdd':5 'make':4 'way':6"
      -bodyTs: "'-15':125 '-4067':748,766,775 '-88':749,767,776 '-9663':747,765,774 '/4c1492f537d9785e19406eb5cd99173':1131 '/bcache-tools.git':448 '/boot':606,617 '/boot/efi':632 '/comment/5577205)from':40 '/dev/bcache0':700,836,855,864,873 '/dev/bcache1':701 '/dev/nvme0n1':544 '/dev/nvme0n1p1':595,709,737 '/dev/nvme0n1p2':602,807,882 '/dev/nvme0n1p3':628,817,886 '/dev/sda':537,682 '/dev/sda1':584,666 '/dev/sdb':539,680 '/dev/sdb1':591,667 '/hardenedarray/4c1492f537d9785e19406eb5cd991735)[':1134 '/mnt':837,853,861,920,924 '/mnt/boot':883 '/mnt/boot/efi':887 '/mnt/home':850,870 '/mnt/root':841 '/mnt/var':845,879 '/news/btrfs-raid-56-is-bad)':239 '/oldwiki/btrfs.wiki.kernel.org/index.php/using_btrfs_with_multiple_devices.html)':1139 '/post/7585833).':59 '/run/archiso/cowspace':323 '/sys/block/bcache0/bcache/attach':771 '/sys/block/bcache1/bcache/attach':780 '/sys/block/sda/sda1/bcache/stop':1110 '/sys/firmware/efi/efivars':296 '/title/bcache](https://wiki.archlinux.org/title/bcache)[wiki.archlinux.org/title/btrfs](https://wiki.archlinux.org/title/btrfs)[gist.github.com/':1130 '/u/d3xt3r@lemmy.nz)':44 '/using_btrfs_with_multiple_devices.h':1136 '1':1109 '10':124 '118g':596 '120gb':67 '15':76 '1g':603,621,812 '200m':629,822 '2nd':348 '2x500gb':64 '3':574 '32':816 '4':211,252 '500':585 '500gb':589 '8g':322 '8gb':251,261 'abl':403 'accident':1114 'achiev':502 'act':405 'activ':1092 'actual':51 'add':413,955,970 'af':751,769,778 'af-c5066a6c661b':750,768,777 'alt':353,429 'alway':7 'amaz':148 'answer':34,37 'anyon':180 'anyth':81,192,219,1070 'app':225 'arch':244,272,834,890,892,935,1019,1055 'arch-chroot':934,1054 'archach':697 'archive.kernel.org':1138 'archive.kernel.org/oldwiki/btrfs.wiki.kernel.org/index.php/using_btrfs_with_multiple_devices.html)':1137 'ask':23 'assur':1035 'aur':317,442 'aur.archlinux.org':447 'aur.archlinux.org/bcache-tools.git':446 'b':665 'back':903,927 'base':327,334,979 'base-devel':326,333 'basic':20 'bcach':284,299,440,451,508,514,664,707,734,897,913,956,966,982,1023,1062 'bcache-super-show':733 'bcache-tool':439,450,896,912,1061 'bcache-tools-1.1-1-x86_64.pkg.tar.zst':923,939 'bcache0':675,792 'bcache1':677,794 'better':636 'bg3':96 'block':973,981 'boot':145,290,645,804 'bottom':418 'boy':89 'btrfs':515,838,842,847 'busi':1077 'buy':63,210 'c':708 'c5066a6c661b':752,770,779 'cach':601,704,714 'call':674 'care':130 'cd':449 'cfdisk':550 'cheap':72,74 'cheapest':201 'choic':953 'chroot':936,1056 'clone':437,445 'command':669,732,762,990,1117 'complic':1027 'compress':859,868,877 'configur':54,512,659,802,942 'confus':170 'copi':910 'cp':922 'creat':840,844,849 'cset.uuid':721,739,745 'ctrl':352,428 'd':698 'd3xter':41 'data':187 'decid':61 'devel':328,335 'devic':1075 'differ':109,152 'distro':270 'done':474,781 'drive':285,520,554,831,1095 'easiest':275 'echo':763,772,1108 'edit':410,945,1107 'editor':951 'efi':647 'els':205 'endless':21 'error':478 'even':607 'ever':14 'everyday':16 'exampl':740,977,1098 'execut':505,988,1115 'f':815 'f2':354 'f3':430 'fast':121 'favor':197 'fc3aac3b':746,764,773 'fifth':888 'figur':48 'filesystem':976 'finish':371 'first':182 'flesystem':983 'follow':891 'formati':581 'found':483 'fouth':511 'g':388 'game':98,222 'gb':586 'get':92,214,241 'gist.github.com':1133 'gist.github.com/hardenedarray/4c1492f537d9785e19406eb5cd991735)[':1132 'git':330,336,444 'go':346,902,926 'got':29 'grep':738 'grub':901,994 'guid':178 'hard':626 'hdd':65,157,212,525,542,568,587 'headach':1029 'hell':172 'help':33,46 'home':867 'hook':969,978 'howev':35 'identifi':523 'ignor':337 'import':195 'induc':1030 'initcpio':986 'insan':165 'inspect':458 'instal':168,280,298,325,489,833,889,919,930,998,1018,1060 'instanc':534 'internet':303,343 'interst':181 'iso':311 'kernel':496,612,1088 'kernel.org':1135 'knew':623 'know':723 'l':696 'last':26,160,895,997 'least':250 'lemmy.ml':39,43,58 'lemmy.ml/comment/5577205)from':38 'lemmy.ml/post/7585833).':57 'lemmy.ml/u/d3xt3r@lemmy.nz)':42 'less':619 'let':529 'like':75,963 'line':415 'linux':4,13,338,993,1020 'list':518 'live':245,306,310 'load':119,142,498 'login':356,431 'lol':894 'look':962 'lost':86 'lot':31 'love':3,12 'ls':295 'lsblk':522,686,784 'lzo':860,869,878 'm':387 'make':287,466,563,573,615,663,671,689,706,984,1003 'make-bcach':662,705 'makepkg':379,469 'mayb':123 'mention':1011 'might':253 'mkdir':863,872,881,885 'mkfs.btrfs':695 'mkfs.ext4':806 'mkfs.vfat':814 'mkinitcpio':899,944,947,991 'modprob':507 'modul':959,965 'mount':318,827,835,854,862,871,880,884 'need':135,373,399,492,641,1058,1084 'new':116 'newli':918 'next':363 'note':1043 'noth':87 'notic':150 'nvme':68 'nvme0n1p1':797 'o':319,856,865,874 'okay':1,656 'old':112 'one':257,564,611,908,1103 'option':846,851 'otherwis':365,649 'output':743 'p':992 'packag':486,915 'pacman':331,937 'pain':1042 'partit':552,565,575,590,598,604,618,630,648,673,798,805,813,823,1008 'partprob':510,1082,1121 'passwd':391 'password':396 'perform':103,198 'pkgbuild':460 'possibl':18,202 'press':351,427 'problem':1047 'proceed':464 'process':369 'pseudo':177 'pseudo-guid':176 'raid':661,690,717 'raid0':25,517,699 'raid10':215 'raid5':231 'realli':45 'reboot':1050 'refer':1127 'reformat':1069 'regist':712,757 'rememb':808,818 'remot':193 'remount':308,320 'repo':443 'requir':100 'right':1009 'root':358,383,858 'run':381 'safe':637 'save':424 'say':531 'sda':1100 'sda1':569 'sdb1':571 'second':240 'see':107,788 'separ':644 'set':394,436 'setup':117,162,190,234,375,718 'show':736,1073,1124 'sinc':378 'size':321 'slow':342 'slower':127 'smallest':256 'sorri':639 'sri':470 'ssd':69,101,113,161,528,547,578,597 'step':364 'stick':247 'stop':1090 'store':185,218 'subvol':857,866,875 'subvolum':839,843,848 'suck':236 'sudo':506,509,921 'super':735 'superus':407 'sure':288,1004,1032 'surpris':8,93 'system':56,307,655,1024 'tell':494,1086 'test':95 'textur':140 'think':263 'third':297 'throw':477 'time':146 'tool':441,452,898,914,1063 'total':77,1039 'tti':349 'tty1':928 'tty3':905 'two':694 'type':294,385,468 'u':938 'udev':980 'uefi':292 'umount':852 'unboot':654 'unless':206 'usb':246 'use':230,266,315,549,558,685,730,760,949,1120 'user':377,390,392,401,419,433,907 'useradd':386 'usual':1001 'uuid':727 'var':876 'visudo':411 'vmliuz':480 'wait':137,366 'want':52,208,278,455,561,1052,1067,1105 'way':627 'week':27 'well':104,122 'whatev':559 'wheel':389 'wiki':893 'wiki.archlinux.org':1129 'wiki.archlinux.org/title/bcache](https://wiki.archlinux.org/title/bcache)[wiki.archlinux.org/title/btrfs](https://wiki.archlinux.org/title/btrfs)[gist.github.com/':1128 'wont':380 'work':254 'worth':1040 'write':174 'wrong':82 'www.phoronix.com':238 'www.phoronix.com/news/btrfs-raid-56-is-bad)':237 'yet':583"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1700146309
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/8002348"
      +editedAt: DateTimeImmutable @1700319306 {#1693
        date: 2023-11-18 15:55:06.0 +01:00
      }
      +createdAt: DateTimeImmutable @1700059909 {#1550
        date: 2023-11-15 15:51:49.0 +01:00
      }
      +__isInitialized__: true
       …2
    }
    +magazine: Proxies\__CG__\App\Entity\Magazine {#1579 …2}
    +image: null
    +parent: null
    +root: null
    +body: """
      Thanks for writing this! Getting bcache set up the first time can be confusing, so this certainly helps.\n
      \n
      I’ll just drop one warning in here. With a setup very much like described here I’ve had severe data corruption and loss, so please make sure your data is properly and regularly backed up. To me it seemed like almost any unexpected or untimely power off would cause some data loss or significant corruption.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 6
    +score: 0
    +lastActive: DateTime @1700129102 {#1439
      date: 2023-11-16 11:05:02.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@Uluganda@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#1580 …}
    +nested: Doctrine\ORM\PersistentCollection {#1583 …}
    +votes: Doctrine\ORM\PersistentCollection {#1582 …}
    +reports: Doctrine\ORM\PersistentCollection {#1589 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1572 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1666 …}
    -id: 129669
    -bodyTs: "'almost':60 'back':53 'bcach':6 'caus':68 'certain':17 'confus':14 'corrupt':40,74 'data':39,48,70 'describ':33 'drop':22 'first':10 'get':5 'help':18 'like':32,59 'll':20 'loss':42,71 'make':45 'much':31 'one':23 'pleas':44 'power':65 'proper':50 'regular':52 'seem':58 'set':7 'setup':29 'sever':38 'signific':73 'sure':46 'thank':1 'time':11 'unexpect':62 'untim':64 've':36 'warn':24 'would':67 'write':3"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.ml/comment/5846844"
    +editedAt: null
    +createdAt: DateTimeImmutable @1700129102 {#1435
      date: 2023-11-16 11:05:02.0 +01:00
    }
    +"title": 129669
  }
]
Attributes
[]
Component
App\Twig\Components\VoteComponent {#4285
  +subject: App\Entity\EntryComment {#1697
    +user: App\Entity\User {#265
      +avatar: null
      +cover: null
      +email: "bitduck@lemmy.ml"
      +username: "@bitduck@lemmy.ml"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1700395689 {#275
        date: 2023-11-19 13:08:09.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#253 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#249 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#238 …}
      +entries: Doctrine\ORM\PersistentCollection {#196 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#168 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#141 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#111 …}
      +posts: Doctrine\ORM\PersistentCollection {#84 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#99 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1863 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1479 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1658 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1868 …}
      +follows: Doctrine\ORM\PersistentCollection {#1917 …}
      +followers: Doctrine\ORM\PersistentCollection {#1601 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1805 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1810 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1857 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1860 …}
      +reports: Doctrine\ORM\PersistentCollection {#1791 …}
      +favourites: Doctrine\ORM\PersistentCollection {#2416 …}
      +violations: Doctrine\ORM\PersistentCollection {#1824 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1914 …}
      +awards: Doctrine\ORM\PersistentCollection {#1929 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1867 …}
      +categories: Doctrine\ORM\PersistentCollection {#1880 …}
      -id: 76975
      -password: "$2y$13$nWTr0Xo0QFv5mDVXtKX71uDGR7vOEEnFx2jZ2jyBp0Q0cMjykForC"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1894 …}
      +apId: "bitduck@lemmy.ml"
      +apProfileId: "https://lemmy.ml/u/bitduck"
      +apPublicUrl: "https://lemmy.ml/u/bitduck"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "bitduck"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1726542633 {#269
        date: 2024-09-17 05:10:33.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1700395689 {#268
        date: 2023-11-19 13:08:09.0 +01:00
      }
    }
    +entry: Proxies\__CG__\App\Entity\Entry {#1592
      +user: Proxies\__CG__\App\Entity\User {#2458
        +avatar: null
        +cover: null
        +email: "Uluganda@lemmy.ml"
        +username: "@Uluganda@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1700365066 {#3317
          date: 2023-11-19 04:37:46.0 +01:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#3320 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#3322 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#3324 …}
        +entries: Doctrine\ORM\PersistentCollection {#3326 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#3328 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#3330 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3332 …}
        +posts: Doctrine\ORM\PersistentCollection {#3334 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#3336 …}
        +postComments: Doctrine\ORM\PersistentCollection {#3338 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#3340 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#3342 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#3344 …}
        +follows: Doctrine\ORM\PersistentCollection {#3346 …}
        +followers: Doctrine\ORM\PersistentCollection {#3348 …}
        +blocks: Doctrine\ORM\PersistentCollection {#3350 …}
        +blockers: Doctrine\ORM\PersistentCollection {#3352 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#3354 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#3356 …}
        +reports: Doctrine\ORM\PersistentCollection {#3358 …}
        +favourites: Doctrine\ORM\PersistentCollection {#3360 …}
        +violations: Doctrine\ORM\PersistentCollection {#3362 …}
        +notifications: Doctrine\ORM\PersistentCollection {#3364 …}
        +awards: Doctrine\ORM\PersistentCollection {#3366 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#3368 …}
        +categories: Doctrine\ORM\PersistentCollection {#3370 …}
        -id: 9933
        -password: "$2y$13$Cd0jic67tC6T7tuaqa7iWewkFHt3J3XyusH8Bh.FZvcZOPIwsBfA6"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#3372 …}
        +apId: "Uluganda@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/Uluganda"
        +apPublicUrl: "https://lemmy.ml/u/Uluganda"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "Uluganda"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1707245788 {#3318
          date: 2024-02-06 19:56:28.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687567147 {#3319
          date: 2023-06-24 02:39:07.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: Proxies\__CG__\App\Entity\Magazine {#1579
        +icon: Proxies\__CG__\App\Entity\Image {#2847 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#2826
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#2846 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#2844 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#2849 …}
        +entries: Doctrine\ORM\PersistentCollection {#2850 …}
        +posts: Doctrine\ORM\PersistentCollection {#2853 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#2855 …}
        +bans: Doctrine\ORM\PersistentCollection {#2861 …}
        +reports: Doctrine\ORM\PersistentCollection {#2869 …}
        +badges: Doctrine\ORM\PersistentCollection {#2882 …}
        +logs: Doctrine\ORM\PersistentCollection {#2892 …}
        +awards: Doctrine\ORM\PersistentCollection {#2874 …}
        +categories: Doctrine\ORM\PersistentCollection {#2898 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#2827
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#2828
          date: 2023-11-02 13:51:08.0 +01:00
        }
        +__isInitialized__: true
         …2
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1732 …}
      +slug: "Bcache-is-amazing-Making-HDD-way-faster"
      +title: "Bcache is amazing!: Making HDD way faster!"
      +url: null
      +body: """
        Okay, I love Linux. But I always surprised that I can love Linux ever more everyday. The possibility is basically endless!\n
        \n
        I asked about raid0 last week and got a lot of helpful answers. However, this[ answer ](https://lemmy.ml/comment/5577205)from [d3Xter](https://lemmy.ml/u/d3Xt3r@lemmy.nz) really helped me figures how I actually want to [configure my system](https://lemmy.ml/post/7585833). I decided to buy 2x500GB HDD and 120GB NVME SSD. It’s cheap, very cheap. Like $15 total. If there is anything wrong with them, I lost nothing. But boy did I get surprised. I tested BG3, a game that requires SSD to perform well and I see no difference between my old SSD and my new setup. It loads as fast (well, maybe 10-15s slower, but who cares?), and I do not need to wait for the textures to load, at all. Boot time is amazing. I notice no difference at all between this HDD and my last SSD setup. Which is insane!\n
        \n
        But the installation is confusing as hell. I write this pseudo-guide for anyone intersted.\n
        \n
        FIRST: DO NOT STORE ANY DATA IN THIS SETUP FOR ANYTHING REMOTE TO IMPORTANT!\n
        \n
        I favor performance for the cheapest possible above all else. Unless you want to buy 4 HDD to get raid10, do not store anything other than games and your apps on it. Do not use raid5 in this setup, [it sucks.](https://www.phoronix.com/news/Btrfs-RAID-56-Is-Bad)\n
        \n
        Second: Get yourself an Arch live USB stick with at least 8GB (4 might works, but smallest one I have is 8GB). I think you can use it on other distro, but Arch is the easiest if you want to install IT on the bcache drive. And make sure you booted into UEFI by typing:\n
        \n
        `ls /sys/firmware/efi/efivars/`\n
        \n
        Third: Installing bcache. After you have internet on your live system, remount your live iso so we can use the AUR.\n
        \n
        `mount -o remount,size=8G /run/archiso/cowspace`\n
        \n
        Then, install base-devel and git\n
        \n
        `pacman -S base-devel git --ignore linux`\n
        \n
        If you have slow internet, you can go to 2nd tty by pressing ctrl + alt + f2 and login as root there to do the next step, otherwise wait for the process to finish. We need to setup a user since makepkg wont run on root. So, type:\n
        \n
        `useradd -m -G wheel user && passwd user` and set your password Then we need the user to able to act as superuser. So, we edit `visudo` and add this line at the bottom: `user ALL=(ALL:ALL)ALL` save it and press ctrl + alt + f3, login as user you just set. Clone the bcache-tools AUR repo: `git clone https://aur.archlinux.org/bcache-tools.git && cd bcache-tools`\n
        \n
        If you want you can inspect the PKGBUILD, but we will proceed to make it, type:\n
        \n
        `makepkg -sri`\n
        \n
        Once it is done, it will throw error about vmliuz is not found, but the package itself is installed, you just need to tell the kernel to load it. We can achieve that by executing:\n
        \n
        `sudo modprobe bcache && sudo partprobe`\n
        \n
        Fouth: Configuring the bcache, btrfs, and raid0 List your drive with `lsblk` identify your HDD and your SSD. Let’s say in this instance, we have /dev/sda and /dev/sdb as our HDD and /dev/nvme0n1 as our SSD. I use cfdisk to partition my drive, but you can use whatever you want. I make one partition for both HDD, sda1 and sdb1, and make 3 partitions for my SSD. DO NOT FORMATI IT YET. /dev/sda1 : 500 GB HDD with 500GB partition /dev/sdb1 : same as before /dev/nvme0n1p1 : 118G SSD partition as the cache /dev/nvme0n1p2 : 1G partition as /boot. Even if you have one kernel, do not make a /boot partition less than 1G. I knew it in hard way. /dev/nvme0n1p3 : 200M partition as /boot/efi. Same as before, better safe than sorry. YOU NEED TO HAVE SEPARATE BOOT AND EFI PARTITION, OTHERWISE YOU WILL HAVE AN UNBOOTABLE SYSTEM!\n
        \n
        Okay, now we configure our raid.\n
        \n
        `make-bcache -B /dev/sda1 /dev/sdb1`\n
        \n
        This command will make a partition (?) called bcache0 and bcache1 under both /dev/sdb and /dev/sda if you use\n
        \n
        `lsblk`\n
        \n
        Now, we make raid out of those two.\n
        \n
        `mkfs.btrfs -L ARCHACHED -d raid0 /dev/bcache0 /dev/bcache1`\n
        \n
        Then the cache.\n
        \n
        `make-bcache -C /dev/nvme0n1p1`\n
        \n
        We can register the cache for our raid setup by its cset.uuid. To know what is the uuid, we can use this command.\n
        \n
        `bcache-super-show /dev/nvme0n1p1 |grep cset.uuid`\n
        \n
        Example of the output is:\n
        \n
        `cset.uuid fc3aac3b-9663-4067-88af-c5066a6c661b`\n
        \n
        From that, we can register it by using this command:\n
        \n
        `echo fc3aac3b-9663-4067-88af-c5066a6c661b > /sys/block/bcache0/bcache/attach`\n
        \n
        `echo fc3aac3b-9663-4067-88af-c5066a6c661b > /sys/block/bcache1/bcache/attach`\n
        \n
        Done! If you `lsblk` now, you can see that there is bcache0 and bcache1 under the nvme0n1p1 partition.\n
        \n
        Now, we can configure our boot partition.\n
        \n
        `mkfs.ext4 /dev/nvme0n1p2` (Remember, this is the 1G partition)\n
        \n
        `mkfs.vfat -F 32 /dev/nvme0n1p3` (Remember, this is the 200M partition)\n
        \n
        We can then mount all of those drive to install Arch.\n
        \n
        `mount /dev/bcache0 /mnt`\n
        \n
        `btrfs subvolume create /mnt/root`\n
        \n
        `btrfs subvolume create /mnt/var` (optional)\n
        \n
        `btrfs subvolume create /mnt/home` (optional)\n
        \n
        `umount /mnt`\n
        \n
        `mount /dev/bcache0 -o subvol=root,compress=lzo /mnt/`\n
        \n
        `mount --mkdir /dev/bcache0 -o subvol=home,compress=lzo /mnt/home`\n
        \n
        `mount --mkdir /dev/bcache0 -o subvol=var,compress=lzo /mnt/var`\n
        \n
        `mount --mkdir /dev/nvme0n1p2 /mnt/boot`\n
        \n
        `mount --mkdir /dev/nvme0n1p3 /mnt/boot/efi`\n
        \n
        Fifth: Install Arch Follow arch wiki, lol.\n
        \n
        Last: bcache-tools, mkinitcpio, and grub. Go back to tty3, the user one. And copy the bcache-tools package to your newly installed /mnt\n
        \n
        `sudo cp bcache-tools-1.1-1-x86_64.pkg.tar.zst /mnt`\n
        \n
        Then go back tty1 and install it on you arch-chroot.\n
        \n
        `pacman -U bcache-tools-1.1-1-x86_64.pkg.tar.zst`\n
        \n
        Now, we configure the mkinitcpio. Edit your mkinitcpio by using you editor of choice. And add bcache in in MODULES so it looks like this:\n
        \n
        `MODULES=(bcache)`\n
        \n
        And in HOOKS, add it after block and before filesystem. Example:\n
        \n
        `HOOKS=(base udev block bcache flesystem)`\n
        \n
        Make your initcpio by executing this command:\n
        \n
        `mkinitcpio -p linux`\n
        \n
        Grub is the last. Install it as usual. Just make sure you did the partition right, as mentioned before.\n
        \n
        That’s it. You just install Arch Linux on a bcache system. It’s complicated, and headache inducing for sure, but I assure you it is totally worth that pain.\n
        \n
        Note: If you have problem after you reboot, and want to arch-chroot, you need to install bcache-tools again. If you want to reformat anything and it shows the device as busy after you did the `partprobe`, you need to tell the kernel to stop any activity to the drive. In this example the sda is the one you want to edit.\n
        \n
        `echo 1 > /sys/block/sda/sda1/bcache/stop`\n
        \n
        Now, if you accidentally execute the command, you can use `partprobe` again to show it up.\n
        \n
        Reference: [wiki.archlinux.org/title/bcache](https://wiki.archlinux.org/title/bcache)[wiki.archlinux.org/title/btrfs](https://wiki.archlinux.org/title/btrfs)[gist.github.com/…/4c1492f537d9785e19406eb5cd99173…](https://gist.github.com/HardenedArray/4c1492f537d9785e19406eb5cd991735)[…kernel.org/…/Using_Btrfs_with_Multiple_Devices.h…](https://archive.kernel.org/oldwiki/btrfs.wiki.kernel.org/index.php/Using_Btrfs_with_Multiple_Devices.html)
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 22
      +favouriteCount: 131
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1700152658 {#1526
        date: 2023-11-16 17:37:38.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1727 …}
      +votes: Doctrine\ORM\PersistentCollection {#1733 …}
      +reports: Doctrine\ORM\PersistentCollection {#1719 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1691 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1711 …}
      +badges: Doctrine\ORM\PersistentCollection {#1621 …}
      +children: [
        App\Entity\EntryComment {#1697}
      ]
      -id: 13261
      -titleTs: "'amaz':3 'bcach':1 'faster':7 'hdd':5 'make':4 'way':6"
      -bodyTs: "'-15':125 '-4067':748,766,775 '-88':749,767,776 '-9663':747,765,774 '/4c1492f537d9785e19406eb5cd99173':1131 '/bcache-tools.git':448 '/boot':606,617 '/boot/efi':632 '/comment/5577205)from':40 '/dev/bcache0':700,836,855,864,873 '/dev/bcache1':701 '/dev/nvme0n1':544 '/dev/nvme0n1p1':595,709,737 '/dev/nvme0n1p2':602,807,882 '/dev/nvme0n1p3':628,817,886 '/dev/sda':537,682 '/dev/sda1':584,666 '/dev/sdb':539,680 '/dev/sdb1':591,667 '/hardenedarray/4c1492f537d9785e19406eb5cd991735)[':1134 '/mnt':837,853,861,920,924 '/mnt/boot':883 '/mnt/boot/efi':887 '/mnt/home':850,870 '/mnt/root':841 '/mnt/var':845,879 '/news/btrfs-raid-56-is-bad)':239 '/oldwiki/btrfs.wiki.kernel.org/index.php/using_btrfs_with_multiple_devices.html)':1139 '/post/7585833).':59 '/run/archiso/cowspace':323 '/sys/block/bcache0/bcache/attach':771 '/sys/block/bcache1/bcache/attach':780 '/sys/block/sda/sda1/bcache/stop':1110 '/sys/firmware/efi/efivars':296 '/title/bcache](https://wiki.archlinux.org/title/bcache)[wiki.archlinux.org/title/btrfs](https://wiki.archlinux.org/title/btrfs)[gist.github.com/':1130 '/u/d3xt3r@lemmy.nz)':44 '/using_btrfs_with_multiple_devices.h':1136 '1':1109 '10':124 '118g':596 '120gb':67 '15':76 '1g':603,621,812 '200m':629,822 '2nd':348 '2x500gb':64 '3':574 '32':816 '4':211,252 '500':585 '500gb':589 '8g':322 '8gb':251,261 'abl':403 'accident':1114 'achiev':502 'act':405 'activ':1092 'actual':51 'add':413,955,970 'af':751,769,778 'af-c5066a6c661b':750,768,777 'alt':353,429 'alway':7 'amaz':148 'answer':34,37 'anyon':180 'anyth':81,192,219,1070 'app':225 'arch':244,272,834,890,892,935,1019,1055 'arch-chroot':934,1054 'archach':697 'archive.kernel.org':1138 'archive.kernel.org/oldwiki/btrfs.wiki.kernel.org/index.php/using_btrfs_with_multiple_devices.html)':1137 'ask':23 'assur':1035 'aur':317,442 'aur.archlinux.org':447 'aur.archlinux.org/bcache-tools.git':446 'b':665 'back':903,927 'base':327,334,979 'base-devel':326,333 'basic':20 'bcach':284,299,440,451,508,514,664,707,734,897,913,956,966,982,1023,1062 'bcache-super-show':733 'bcache-tool':439,450,896,912,1061 'bcache-tools-1.1-1-x86_64.pkg.tar.zst':923,939 'bcache0':675,792 'bcache1':677,794 'better':636 'bg3':96 'block':973,981 'boot':145,290,645,804 'bottom':418 'boy':89 'btrfs':515,838,842,847 'busi':1077 'buy':63,210 'c':708 'c5066a6c661b':752,770,779 'cach':601,704,714 'call':674 'care':130 'cd':449 'cfdisk':550 'cheap':72,74 'cheapest':201 'choic':953 'chroot':936,1056 'clone':437,445 'command':669,732,762,990,1117 'complic':1027 'compress':859,868,877 'configur':54,512,659,802,942 'confus':170 'copi':910 'cp':922 'creat':840,844,849 'cset.uuid':721,739,745 'ctrl':352,428 'd':698 'd3xter':41 'data':187 'decid':61 'devel':328,335 'devic':1075 'differ':109,152 'distro':270 'done':474,781 'drive':285,520,554,831,1095 'easiest':275 'echo':763,772,1108 'edit':410,945,1107 'editor':951 'efi':647 'els':205 'endless':21 'error':478 'even':607 'ever':14 'everyday':16 'exampl':740,977,1098 'execut':505,988,1115 'f':815 'f2':354 'f3':430 'fast':121 'favor':197 'fc3aac3b':746,764,773 'fifth':888 'figur':48 'filesystem':976 'finish':371 'first':182 'flesystem':983 'follow':891 'formati':581 'found':483 'fouth':511 'g':388 'game':98,222 'gb':586 'get':92,214,241 'gist.github.com':1133 'gist.github.com/hardenedarray/4c1492f537d9785e19406eb5cd991735)[':1132 'git':330,336,444 'go':346,902,926 'got':29 'grep':738 'grub':901,994 'guid':178 'hard':626 'hdd':65,157,212,525,542,568,587 'headach':1029 'hell':172 'help':33,46 'home':867 'hook':969,978 'howev':35 'identifi':523 'ignor':337 'import':195 'induc':1030 'initcpio':986 'insan':165 'inspect':458 'instal':168,280,298,325,489,833,889,919,930,998,1018,1060 'instanc':534 'internet':303,343 'interst':181 'iso':311 'kernel':496,612,1088 'kernel.org':1135 'knew':623 'know':723 'l':696 'last':26,160,895,997 'least':250 'lemmy.ml':39,43,58 'lemmy.ml/comment/5577205)from':38 'lemmy.ml/post/7585833).':57 'lemmy.ml/u/d3xt3r@lemmy.nz)':42 'less':619 'let':529 'like':75,963 'line':415 'linux':4,13,338,993,1020 'list':518 'live':245,306,310 'load':119,142,498 'login':356,431 'lol':894 'look':962 'lost':86 'lot':31 'love':3,12 'ls':295 'lsblk':522,686,784 'lzo':860,869,878 'm':387 'make':287,466,563,573,615,663,671,689,706,984,1003 'make-bcach':662,705 'makepkg':379,469 'mayb':123 'mention':1011 'might':253 'mkdir':863,872,881,885 'mkfs.btrfs':695 'mkfs.ext4':806 'mkfs.vfat':814 'mkinitcpio':899,944,947,991 'modprob':507 'modul':959,965 'mount':318,827,835,854,862,871,880,884 'need':135,373,399,492,641,1058,1084 'new':116 'newli':918 'next':363 'note':1043 'noth':87 'notic':150 'nvme':68 'nvme0n1p1':797 'o':319,856,865,874 'okay':1,656 'old':112 'one':257,564,611,908,1103 'option':846,851 'otherwis':365,649 'output':743 'p':992 'packag':486,915 'pacman':331,937 'pain':1042 'partit':552,565,575,590,598,604,618,630,648,673,798,805,813,823,1008 'partprob':510,1082,1121 'passwd':391 'password':396 'perform':103,198 'pkgbuild':460 'possibl':18,202 'press':351,427 'problem':1047 'proceed':464 'process':369 'pseudo':177 'pseudo-guid':176 'raid':661,690,717 'raid0':25,517,699 'raid10':215 'raid5':231 'realli':45 'reboot':1050 'refer':1127 'reformat':1069 'regist':712,757 'rememb':808,818 'remot':193 'remount':308,320 'repo':443 'requir':100 'right':1009 'root':358,383,858 'run':381 'safe':637 'save':424 'say':531 'sda':1100 'sda1':569 'sdb1':571 'second':240 'see':107,788 'separ':644 'set':394,436 'setup':117,162,190,234,375,718 'show':736,1073,1124 'sinc':378 'size':321 'slow':342 'slower':127 'smallest':256 'sorri':639 'sri':470 'ssd':69,101,113,161,528,547,578,597 'step':364 'stick':247 'stop':1090 'store':185,218 'subvol':857,866,875 'subvolum':839,843,848 'suck':236 'sudo':506,509,921 'super':735 'superus':407 'sure':288,1004,1032 'surpris':8,93 'system':56,307,655,1024 'tell':494,1086 'test':95 'textur':140 'think':263 'third':297 'throw':477 'time':146 'tool':441,452,898,914,1063 'total':77,1039 'tti':349 'tty1':928 'tty3':905 'two':694 'type':294,385,468 'u':938 'udev':980 'uefi':292 'umount':852 'unboot':654 'unless':206 'usb':246 'use':230,266,315,549,558,685,730,760,949,1120 'user':377,390,392,401,419,433,907 'useradd':386 'usual':1001 'uuid':727 'var':876 'visudo':411 'vmliuz':480 'wait':137,366 'want':52,208,278,455,561,1052,1067,1105 'way':627 'week':27 'well':104,122 'whatev':559 'wheel':389 'wiki':893 'wiki.archlinux.org':1129 'wiki.archlinux.org/title/bcache](https://wiki.archlinux.org/title/bcache)[wiki.archlinux.org/title/btrfs](https://wiki.archlinux.org/title/btrfs)[gist.github.com/':1128 'wont':380 'work':254 'worth':1040 'write':174 'wrong':82 'www.phoronix.com':238 'www.phoronix.com/news/btrfs-raid-56-is-bad)':237 'yet':583"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1700146309
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/8002348"
      +editedAt: DateTimeImmutable @1700319306 {#1693
        date: 2023-11-18 15:55:06.0 +01:00
      }
      +createdAt: DateTimeImmutable @1700059909 {#1550
        date: 2023-11-15 15:51:49.0 +01:00
      }
      +__isInitialized__: true
       …2
    }
    +magazine: Proxies\__CG__\App\Entity\Magazine {#1579 …2}
    +image: null
    +parent: null
    +root: null
    +body: """
      Thanks for writing this! Getting bcache set up the first time can be confusing, so this certainly helps.\n
      \n
      I’ll just drop one warning in here. With a setup very much like described here I’ve had severe data corruption and loss, so please make sure your data is properly and regularly backed up. To me it seemed like almost any unexpected or untimely power off would cause some data loss or significant corruption.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 6
    +score: 0
    +lastActive: DateTime @1700129102 {#1439
      date: 2023-11-16 11:05:02.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@Uluganda@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#1580 …}
    +nested: Doctrine\ORM\PersistentCollection {#1583 …}
    +votes: Doctrine\ORM\PersistentCollection {#1582 …}
    +reports: Doctrine\ORM\PersistentCollection {#1589 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1572 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1666 …}
    -id: 129669
    -bodyTs: "'almost':60 'back':53 'bcach':6 'caus':68 'certain':17 'confus':14 'corrupt':40,74 'data':39,48,70 'describ':33 'drop':22 'first':10 'get':5 'help':18 'like':32,59 'll':20 'loss':42,71 'make':45 'much':31 'one':23 'pleas':44 'power':65 'proper':50 'regular':52 'seem':58 'set':7 'setup':29 'sever':38 'signific':73 'sure':46 'thank':1 'time':11 'unexpect':62 'untim':64 've':36 'warn':24 'would':67 'write':3"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.ml/comment/5846844"
    +editedAt: null
    +createdAt: DateTimeImmutable @1700129102 {#1435
      date: 2023-11-16 11:05:02.0 +01:00
    }
    +"title": 129669
  }
  +formDest: "entry_comment"
  +showDownvote: true
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
boost App\Twig\Components\BoostComponent 12.0 MiB 1.03 ms
Input props
[
  "subject" => App\Entity\EntryComment {#1697
    +user: App\Entity\User {#265
      +avatar: null
      +cover: null
      +email: "bitduck@lemmy.ml"
      +username: "@bitduck@lemmy.ml"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1700395689 {#275
        date: 2023-11-19 13:08:09.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#253 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#249 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#238 …}
      +entries: Doctrine\ORM\PersistentCollection {#196 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#168 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#141 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#111 …}
      +posts: Doctrine\ORM\PersistentCollection {#84 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#99 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1863 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1479 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1658 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1868 …}
      +follows: Doctrine\ORM\PersistentCollection {#1917 …}
      +followers: Doctrine\ORM\PersistentCollection {#1601 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1805 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1810 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1857 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1860 …}
      +reports: Doctrine\ORM\PersistentCollection {#1791 …}
      +favourites: Doctrine\ORM\PersistentCollection {#2416 …}
      +violations: Doctrine\ORM\PersistentCollection {#1824 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1914 …}
      +awards: Doctrine\ORM\PersistentCollection {#1929 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1867 …}
      +categories: Doctrine\ORM\PersistentCollection {#1880 …}
      -id: 76975
      -password: "$2y$13$nWTr0Xo0QFv5mDVXtKX71uDGR7vOEEnFx2jZ2jyBp0Q0cMjykForC"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1894 …}
      +apId: "bitduck@lemmy.ml"
      +apProfileId: "https://lemmy.ml/u/bitduck"
      +apPublicUrl: "https://lemmy.ml/u/bitduck"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "bitduck"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1726542633 {#269
        date: 2024-09-17 05:10:33.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1700395689 {#268
        date: 2023-11-19 13:08:09.0 +01:00
      }
    }
    +entry: Proxies\__CG__\App\Entity\Entry {#1592
      +user: Proxies\__CG__\App\Entity\User {#2458
        +avatar: null
        +cover: null
        +email: "Uluganda@lemmy.ml"
        +username: "@Uluganda@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1700365066 {#3317
          date: 2023-11-19 04:37:46.0 +01:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#3320 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#3322 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#3324 …}
        +entries: Doctrine\ORM\PersistentCollection {#3326 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#3328 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#3330 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3332 …}
        +posts: Doctrine\ORM\PersistentCollection {#3334 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#3336 …}
        +postComments: Doctrine\ORM\PersistentCollection {#3338 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#3340 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#3342 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#3344 …}
        +follows: Doctrine\ORM\PersistentCollection {#3346 …}
        +followers: Doctrine\ORM\PersistentCollection {#3348 …}
        +blocks: Doctrine\ORM\PersistentCollection {#3350 …}
        +blockers: Doctrine\ORM\PersistentCollection {#3352 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#3354 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#3356 …}
        +reports: Doctrine\ORM\PersistentCollection {#3358 …}
        +favourites: Doctrine\ORM\PersistentCollection {#3360 …}
        +violations: Doctrine\ORM\PersistentCollection {#3362 …}
        +notifications: Doctrine\ORM\PersistentCollection {#3364 …}
        +awards: Doctrine\ORM\PersistentCollection {#3366 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#3368 …}
        +categories: Doctrine\ORM\PersistentCollection {#3370 …}
        -id: 9933
        -password: "$2y$13$Cd0jic67tC6T7tuaqa7iWewkFHt3J3XyusH8Bh.FZvcZOPIwsBfA6"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#3372 …}
        +apId: "Uluganda@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/Uluganda"
        +apPublicUrl: "https://lemmy.ml/u/Uluganda"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "Uluganda"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1707245788 {#3318
          date: 2024-02-06 19:56:28.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687567147 {#3319
          date: 2023-06-24 02:39:07.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: Proxies\__CG__\App\Entity\Magazine {#1579
        +icon: Proxies\__CG__\App\Entity\Image {#2847 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#2826
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#2846 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#2844 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#2849 …}
        +entries: Doctrine\ORM\PersistentCollection {#2850 …}
        +posts: Doctrine\ORM\PersistentCollection {#2853 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#2855 …}
        +bans: Doctrine\ORM\PersistentCollection {#2861 …}
        +reports: Doctrine\ORM\PersistentCollection {#2869 …}
        +badges: Doctrine\ORM\PersistentCollection {#2882 …}
        +logs: Doctrine\ORM\PersistentCollection {#2892 …}
        +awards: Doctrine\ORM\PersistentCollection {#2874 …}
        +categories: Doctrine\ORM\PersistentCollection {#2898 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#2827
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#2828
          date: 2023-11-02 13:51:08.0 +01:00
        }
        +__isInitialized__: true
         …2
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1732 …}
      +slug: "Bcache-is-amazing-Making-HDD-way-faster"
      +title: "Bcache is amazing!: Making HDD way faster!"
      +url: null
      +body: """
        Okay, I love Linux. But I always surprised that I can love Linux ever more everyday. The possibility is basically endless!\n
        \n
        I asked about raid0 last week and got a lot of helpful answers. However, this[ answer ](https://lemmy.ml/comment/5577205)from [d3Xter](https://lemmy.ml/u/d3Xt3r@lemmy.nz) really helped me figures how I actually want to [configure my system](https://lemmy.ml/post/7585833). I decided to buy 2x500GB HDD and 120GB NVME SSD. It’s cheap, very cheap. Like $15 total. If there is anything wrong with them, I lost nothing. But boy did I get surprised. I tested BG3, a game that requires SSD to perform well and I see no difference between my old SSD and my new setup. It loads as fast (well, maybe 10-15s slower, but who cares?), and I do not need to wait for the textures to load, at all. Boot time is amazing. I notice no difference at all between this HDD and my last SSD setup. Which is insane!\n
        \n
        But the installation is confusing as hell. I write this pseudo-guide for anyone intersted.\n
        \n
        FIRST: DO NOT STORE ANY DATA IN THIS SETUP FOR ANYTHING REMOTE TO IMPORTANT!\n
        \n
        I favor performance for the cheapest possible above all else. Unless you want to buy 4 HDD to get raid10, do not store anything other than games and your apps on it. Do not use raid5 in this setup, [it sucks.](https://www.phoronix.com/news/Btrfs-RAID-56-Is-Bad)\n
        \n
        Second: Get yourself an Arch live USB stick with at least 8GB (4 might works, but smallest one I have is 8GB). I think you can use it on other distro, but Arch is the easiest if you want to install IT on the bcache drive. And make sure you booted into UEFI by typing:\n
        \n
        `ls /sys/firmware/efi/efivars/`\n
        \n
        Third: Installing bcache. After you have internet on your live system, remount your live iso so we can use the AUR.\n
        \n
        `mount -o remount,size=8G /run/archiso/cowspace`\n
        \n
        Then, install base-devel and git\n
        \n
        `pacman -S base-devel git --ignore linux`\n
        \n
        If you have slow internet, you can go to 2nd tty by pressing ctrl + alt + f2 and login as root there to do the next step, otherwise wait for the process to finish. We need to setup a user since makepkg wont run on root. So, type:\n
        \n
        `useradd -m -G wheel user && passwd user` and set your password Then we need the user to able to act as superuser. So, we edit `visudo` and add this line at the bottom: `user ALL=(ALL:ALL)ALL` save it and press ctrl + alt + f3, login as user you just set. Clone the bcache-tools AUR repo: `git clone https://aur.archlinux.org/bcache-tools.git && cd bcache-tools`\n
        \n
        If you want you can inspect the PKGBUILD, but we will proceed to make it, type:\n
        \n
        `makepkg -sri`\n
        \n
        Once it is done, it will throw error about vmliuz is not found, but the package itself is installed, you just need to tell the kernel to load it. We can achieve that by executing:\n
        \n
        `sudo modprobe bcache && sudo partprobe`\n
        \n
        Fouth: Configuring the bcache, btrfs, and raid0 List your drive with `lsblk` identify your HDD and your SSD. Let’s say in this instance, we have /dev/sda and /dev/sdb as our HDD and /dev/nvme0n1 as our SSD. I use cfdisk to partition my drive, but you can use whatever you want. I make one partition for both HDD, sda1 and sdb1, and make 3 partitions for my SSD. DO NOT FORMATI IT YET. /dev/sda1 : 500 GB HDD with 500GB partition /dev/sdb1 : same as before /dev/nvme0n1p1 : 118G SSD partition as the cache /dev/nvme0n1p2 : 1G partition as /boot. Even if you have one kernel, do not make a /boot partition less than 1G. I knew it in hard way. /dev/nvme0n1p3 : 200M partition as /boot/efi. Same as before, better safe than sorry. YOU NEED TO HAVE SEPARATE BOOT AND EFI PARTITION, OTHERWISE YOU WILL HAVE AN UNBOOTABLE SYSTEM!\n
        \n
        Okay, now we configure our raid.\n
        \n
        `make-bcache -B /dev/sda1 /dev/sdb1`\n
        \n
        This command will make a partition (?) called bcache0 and bcache1 under both /dev/sdb and /dev/sda if you use\n
        \n
        `lsblk`\n
        \n
        Now, we make raid out of those two.\n
        \n
        `mkfs.btrfs -L ARCHACHED -d raid0 /dev/bcache0 /dev/bcache1`\n
        \n
        Then the cache.\n
        \n
        `make-bcache -C /dev/nvme0n1p1`\n
        \n
        We can register the cache for our raid setup by its cset.uuid. To know what is the uuid, we can use this command.\n
        \n
        `bcache-super-show /dev/nvme0n1p1 |grep cset.uuid`\n
        \n
        Example of the output is:\n
        \n
        `cset.uuid fc3aac3b-9663-4067-88af-c5066a6c661b`\n
        \n
        From that, we can register it by using this command:\n
        \n
        `echo fc3aac3b-9663-4067-88af-c5066a6c661b > /sys/block/bcache0/bcache/attach`\n
        \n
        `echo fc3aac3b-9663-4067-88af-c5066a6c661b > /sys/block/bcache1/bcache/attach`\n
        \n
        Done! If you `lsblk` now, you can see that there is bcache0 and bcache1 under the nvme0n1p1 partition.\n
        \n
        Now, we can configure our boot partition.\n
        \n
        `mkfs.ext4 /dev/nvme0n1p2` (Remember, this is the 1G partition)\n
        \n
        `mkfs.vfat -F 32 /dev/nvme0n1p3` (Remember, this is the 200M partition)\n
        \n
        We can then mount all of those drive to install Arch.\n
        \n
        `mount /dev/bcache0 /mnt`\n
        \n
        `btrfs subvolume create /mnt/root`\n
        \n
        `btrfs subvolume create /mnt/var` (optional)\n
        \n
        `btrfs subvolume create /mnt/home` (optional)\n
        \n
        `umount /mnt`\n
        \n
        `mount /dev/bcache0 -o subvol=root,compress=lzo /mnt/`\n
        \n
        `mount --mkdir /dev/bcache0 -o subvol=home,compress=lzo /mnt/home`\n
        \n
        `mount --mkdir /dev/bcache0 -o subvol=var,compress=lzo /mnt/var`\n
        \n
        `mount --mkdir /dev/nvme0n1p2 /mnt/boot`\n
        \n
        `mount --mkdir /dev/nvme0n1p3 /mnt/boot/efi`\n
        \n
        Fifth: Install Arch Follow arch wiki, lol.\n
        \n
        Last: bcache-tools, mkinitcpio, and grub. Go back to tty3, the user one. And copy the bcache-tools package to your newly installed /mnt\n
        \n
        `sudo cp bcache-tools-1.1-1-x86_64.pkg.tar.zst /mnt`\n
        \n
        Then go back tty1 and install it on you arch-chroot.\n
        \n
        `pacman -U bcache-tools-1.1-1-x86_64.pkg.tar.zst`\n
        \n
        Now, we configure the mkinitcpio. Edit your mkinitcpio by using you editor of choice. And add bcache in in MODULES so it looks like this:\n
        \n
        `MODULES=(bcache)`\n
        \n
        And in HOOKS, add it after block and before filesystem. Example:\n
        \n
        `HOOKS=(base udev block bcache flesystem)`\n
        \n
        Make your initcpio by executing this command:\n
        \n
        `mkinitcpio -p linux`\n
        \n
        Grub is the last. Install it as usual. Just make sure you did the partition right, as mentioned before.\n
        \n
        That’s it. You just install Arch Linux on a bcache system. It’s complicated, and headache inducing for sure, but I assure you it is totally worth that pain.\n
        \n
        Note: If you have problem after you reboot, and want to arch-chroot, you need to install bcache-tools again. If you want to reformat anything and it shows the device as busy after you did the `partprobe`, you need to tell the kernel to stop any activity to the drive. In this example the sda is the one you want to edit.\n
        \n
        `echo 1 > /sys/block/sda/sda1/bcache/stop`\n
        \n
        Now, if you accidentally execute the command, you can use `partprobe` again to show it up.\n
        \n
        Reference: [wiki.archlinux.org/title/bcache](https://wiki.archlinux.org/title/bcache)[wiki.archlinux.org/title/btrfs](https://wiki.archlinux.org/title/btrfs)[gist.github.com/…/4c1492f537d9785e19406eb5cd99173…](https://gist.github.com/HardenedArray/4c1492f537d9785e19406eb5cd991735)[…kernel.org/…/Using_Btrfs_with_Multiple_Devices.h…](https://archive.kernel.org/oldwiki/btrfs.wiki.kernel.org/index.php/Using_Btrfs_with_Multiple_Devices.html)
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 22
      +favouriteCount: 131
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1700152658 {#1526
        date: 2023-11-16 17:37:38.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1727 …}
      +votes: Doctrine\ORM\PersistentCollection {#1733 …}
      +reports: Doctrine\ORM\PersistentCollection {#1719 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1691 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1711 …}
      +badges: Doctrine\ORM\PersistentCollection {#1621 …}
      +children: [
        App\Entity\EntryComment {#1697}
      ]
      -id: 13261
      -titleTs: "'amaz':3 'bcach':1 'faster':7 'hdd':5 'make':4 'way':6"
      -bodyTs: "'-15':125 '-4067':748,766,775 '-88':749,767,776 '-9663':747,765,774 '/4c1492f537d9785e19406eb5cd99173':1131 '/bcache-tools.git':448 '/boot':606,617 '/boot/efi':632 '/comment/5577205)from':40 '/dev/bcache0':700,836,855,864,873 '/dev/bcache1':701 '/dev/nvme0n1':544 '/dev/nvme0n1p1':595,709,737 '/dev/nvme0n1p2':602,807,882 '/dev/nvme0n1p3':628,817,886 '/dev/sda':537,682 '/dev/sda1':584,666 '/dev/sdb':539,680 '/dev/sdb1':591,667 '/hardenedarray/4c1492f537d9785e19406eb5cd991735)[':1134 '/mnt':837,853,861,920,924 '/mnt/boot':883 '/mnt/boot/efi':887 '/mnt/home':850,870 '/mnt/root':841 '/mnt/var':845,879 '/news/btrfs-raid-56-is-bad)':239 '/oldwiki/btrfs.wiki.kernel.org/index.php/using_btrfs_with_multiple_devices.html)':1139 '/post/7585833).':59 '/run/archiso/cowspace':323 '/sys/block/bcache0/bcache/attach':771 '/sys/block/bcache1/bcache/attach':780 '/sys/block/sda/sda1/bcache/stop':1110 '/sys/firmware/efi/efivars':296 '/title/bcache](https://wiki.archlinux.org/title/bcache)[wiki.archlinux.org/title/btrfs](https://wiki.archlinux.org/title/btrfs)[gist.github.com/':1130 '/u/d3xt3r@lemmy.nz)':44 '/using_btrfs_with_multiple_devices.h':1136 '1':1109 '10':124 '118g':596 '120gb':67 '15':76 '1g':603,621,812 '200m':629,822 '2nd':348 '2x500gb':64 '3':574 '32':816 '4':211,252 '500':585 '500gb':589 '8g':322 '8gb':251,261 'abl':403 'accident':1114 'achiev':502 'act':405 'activ':1092 'actual':51 'add':413,955,970 'af':751,769,778 'af-c5066a6c661b':750,768,777 'alt':353,429 'alway':7 'amaz':148 'answer':34,37 'anyon':180 'anyth':81,192,219,1070 'app':225 'arch':244,272,834,890,892,935,1019,1055 'arch-chroot':934,1054 'archach':697 'archive.kernel.org':1138 'archive.kernel.org/oldwiki/btrfs.wiki.kernel.org/index.php/using_btrfs_with_multiple_devices.html)':1137 'ask':23 'assur':1035 'aur':317,442 'aur.archlinux.org':447 'aur.archlinux.org/bcache-tools.git':446 'b':665 'back':903,927 'base':327,334,979 'base-devel':326,333 'basic':20 'bcach':284,299,440,451,508,514,664,707,734,897,913,956,966,982,1023,1062 'bcache-super-show':733 'bcache-tool':439,450,896,912,1061 'bcache-tools-1.1-1-x86_64.pkg.tar.zst':923,939 'bcache0':675,792 'bcache1':677,794 'better':636 'bg3':96 'block':973,981 'boot':145,290,645,804 'bottom':418 'boy':89 'btrfs':515,838,842,847 'busi':1077 'buy':63,210 'c':708 'c5066a6c661b':752,770,779 'cach':601,704,714 'call':674 'care':130 'cd':449 'cfdisk':550 'cheap':72,74 'cheapest':201 'choic':953 'chroot':936,1056 'clone':437,445 'command':669,732,762,990,1117 'complic':1027 'compress':859,868,877 'configur':54,512,659,802,942 'confus':170 'copi':910 'cp':922 'creat':840,844,849 'cset.uuid':721,739,745 'ctrl':352,428 'd':698 'd3xter':41 'data':187 'decid':61 'devel':328,335 'devic':1075 'differ':109,152 'distro':270 'done':474,781 'drive':285,520,554,831,1095 'easiest':275 'echo':763,772,1108 'edit':410,945,1107 'editor':951 'efi':647 'els':205 'endless':21 'error':478 'even':607 'ever':14 'everyday':16 'exampl':740,977,1098 'execut':505,988,1115 'f':815 'f2':354 'f3':430 'fast':121 'favor':197 'fc3aac3b':746,764,773 'fifth':888 'figur':48 'filesystem':976 'finish':371 'first':182 'flesystem':983 'follow':891 'formati':581 'found':483 'fouth':511 'g':388 'game':98,222 'gb':586 'get':92,214,241 'gist.github.com':1133 'gist.github.com/hardenedarray/4c1492f537d9785e19406eb5cd991735)[':1132 'git':330,336,444 'go':346,902,926 'got':29 'grep':738 'grub':901,994 'guid':178 'hard':626 'hdd':65,157,212,525,542,568,587 'headach':1029 'hell':172 'help':33,46 'home':867 'hook':969,978 'howev':35 'identifi':523 'ignor':337 'import':195 'induc':1030 'initcpio':986 'insan':165 'inspect':458 'instal':168,280,298,325,489,833,889,919,930,998,1018,1060 'instanc':534 'internet':303,343 'interst':181 'iso':311 'kernel':496,612,1088 'kernel.org':1135 'knew':623 'know':723 'l':696 'last':26,160,895,997 'least':250 'lemmy.ml':39,43,58 'lemmy.ml/comment/5577205)from':38 'lemmy.ml/post/7585833).':57 'lemmy.ml/u/d3xt3r@lemmy.nz)':42 'less':619 'let':529 'like':75,963 'line':415 'linux':4,13,338,993,1020 'list':518 'live':245,306,310 'load':119,142,498 'login':356,431 'lol':894 'look':962 'lost':86 'lot':31 'love':3,12 'ls':295 'lsblk':522,686,784 'lzo':860,869,878 'm':387 'make':287,466,563,573,615,663,671,689,706,984,1003 'make-bcach':662,705 'makepkg':379,469 'mayb':123 'mention':1011 'might':253 'mkdir':863,872,881,885 'mkfs.btrfs':695 'mkfs.ext4':806 'mkfs.vfat':814 'mkinitcpio':899,944,947,991 'modprob':507 'modul':959,965 'mount':318,827,835,854,862,871,880,884 'need':135,373,399,492,641,1058,1084 'new':116 'newli':918 'next':363 'note':1043 'noth':87 'notic':150 'nvme':68 'nvme0n1p1':797 'o':319,856,865,874 'okay':1,656 'old':112 'one':257,564,611,908,1103 'option':846,851 'otherwis':365,649 'output':743 'p':992 'packag':486,915 'pacman':331,937 'pain':1042 'partit':552,565,575,590,598,604,618,630,648,673,798,805,813,823,1008 'partprob':510,1082,1121 'passwd':391 'password':396 'perform':103,198 'pkgbuild':460 'possibl':18,202 'press':351,427 'problem':1047 'proceed':464 'process':369 'pseudo':177 'pseudo-guid':176 'raid':661,690,717 'raid0':25,517,699 'raid10':215 'raid5':231 'realli':45 'reboot':1050 'refer':1127 'reformat':1069 'regist':712,757 'rememb':808,818 'remot':193 'remount':308,320 'repo':443 'requir':100 'right':1009 'root':358,383,858 'run':381 'safe':637 'save':424 'say':531 'sda':1100 'sda1':569 'sdb1':571 'second':240 'see':107,788 'separ':644 'set':394,436 'setup':117,162,190,234,375,718 'show':736,1073,1124 'sinc':378 'size':321 'slow':342 'slower':127 'smallest':256 'sorri':639 'sri':470 'ssd':69,101,113,161,528,547,578,597 'step':364 'stick':247 'stop':1090 'store':185,218 'subvol':857,866,875 'subvolum':839,843,848 'suck':236 'sudo':506,509,921 'super':735 'superus':407 'sure':288,1004,1032 'surpris':8,93 'system':56,307,655,1024 'tell':494,1086 'test':95 'textur':140 'think':263 'third':297 'throw':477 'time':146 'tool':441,452,898,914,1063 'total':77,1039 'tti':349 'tty1':928 'tty3':905 'two':694 'type':294,385,468 'u':938 'udev':980 'uefi':292 'umount':852 'unboot':654 'unless':206 'usb':246 'use':230,266,315,549,558,685,730,760,949,1120 'user':377,390,392,401,419,433,907 'useradd':386 'usual':1001 'uuid':727 'var':876 'visudo':411 'vmliuz':480 'wait':137,366 'want':52,208,278,455,561,1052,1067,1105 'way':627 'week':27 'well':104,122 'whatev':559 'wheel':389 'wiki':893 'wiki.archlinux.org':1129 'wiki.archlinux.org/title/bcache](https://wiki.archlinux.org/title/bcache)[wiki.archlinux.org/title/btrfs](https://wiki.archlinux.org/title/btrfs)[gist.github.com/':1128 'wont':380 'work':254 'worth':1040 'write':174 'wrong':82 'www.phoronix.com':238 'www.phoronix.com/news/btrfs-raid-56-is-bad)':237 'yet':583"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1700146309
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/8002348"
      +editedAt: DateTimeImmutable @1700319306 {#1693
        date: 2023-11-18 15:55:06.0 +01:00
      }
      +createdAt: DateTimeImmutable @1700059909 {#1550
        date: 2023-11-15 15:51:49.0 +01:00
      }
      +__isInitialized__: true
       …2
    }
    +magazine: Proxies\__CG__\App\Entity\Magazine {#1579 …2}
    +image: null
    +parent: null
    +root: null
    +body: """
      Thanks for writing this! Getting bcache set up the first time can be confusing, so this certainly helps.\n
      \n
      I’ll just drop one warning in here. With a setup very much like described here I’ve had severe data corruption and loss, so please make sure your data is properly and regularly backed up. To me it seemed like almost any unexpected or untimely power off would cause some data loss or significant corruption.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 6
    +score: 0
    +lastActive: DateTime @1700129102 {#1439
      date: 2023-11-16 11:05:02.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@Uluganda@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#1580 …}
    +nested: Doctrine\ORM\PersistentCollection {#1583 …}
    +votes: Doctrine\ORM\PersistentCollection {#1582 …}
    +reports: Doctrine\ORM\PersistentCollection {#1589 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1572 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1666 …}
    -id: 129669
    -bodyTs: "'almost':60 'back':53 'bcach':6 'caus':68 'certain':17 'confus':14 'corrupt':40,74 'data':39,48,70 'describ':33 'drop':22 'first':10 'get':5 'help':18 'like':32,59 'll':20 'loss':42,71 'make':45 'much':31 'one':23 'pleas':44 'power':65 'proper':50 'regular':52 'seem':58 'set':7 'setup':29 'sever':38 'signific':73 'sure':46 'thank':1 'time':11 'unexpect':62 'untim':64 've':36 'warn':24 'would':67 'write':3"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.ml/comment/5846844"
    +editedAt: null
    +createdAt: DateTimeImmutable @1700129102 {#1435
      date: 2023-11-16 11:05:02.0 +01:00
    }
    +"title": 129669
  }
]
Attributes
[]
Component
App\Twig\Components\BoostComponent {#4342
  +formDest: "entry_comment"
  +subject: App\Entity\EntryComment {#1697
    +user: App\Entity\User {#265
      +avatar: null
      +cover: null
      +email: "bitduck@lemmy.ml"
      +username: "@bitduck@lemmy.ml"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1700395689 {#275
        date: 2023-11-19 13:08:09.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#253 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#249 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#238 …}
      +entries: Doctrine\ORM\PersistentCollection {#196 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#168 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#141 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#111 …}
      +posts: Doctrine\ORM\PersistentCollection {#84 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#99 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1863 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1479 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1658 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1868 …}
      +follows: Doctrine\ORM\PersistentCollection {#1917 …}
      +followers: Doctrine\ORM\PersistentCollection {#1601 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1805 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1810 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1857 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1860 …}
      +reports: Doctrine\ORM\PersistentCollection {#1791 …}
      +favourites: Doctrine\ORM\PersistentCollection {#2416 …}
      +violations: Doctrine\ORM\PersistentCollection {#1824 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1914 …}
      +awards: Doctrine\ORM\PersistentCollection {#1929 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1867 …}
      +categories: Doctrine\ORM\PersistentCollection {#1880 …}
      -id: 76975
      -password: "$2y$13$nWTr0Xo0QFv5mDVXtKX71uDGR7vOEEnFx2jZ2jyBp0Q0cMjykForC"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1894 …}
      +apId: "bitduck@lemmy.ml"
      +apProfileId: "https://lemmy.ml/u/bitduck"
      +apPublicUrl: "https://lemmy.ml/u/bitduck"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "bitduck"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1726542633 {#269
        date: 2024-09-17 05:10:33.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1700395689 {#268
        date: 2023-11-19 13:08:09.0 +01:00
      }
    }
    +entry: Proxies\__CG__\App\Entity\Entry {#1592
      +user: Proxies\__CG__\App\Entity\User {#2458
        +avatar: null
        +cover: null
        +email: "Uluganda@lemmy.ml"
        +username: "@Uluganda@lemmy.ml"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1700365066 {#3317
          date: 2023-11-19 04:37:46.0 +01:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#3320 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#3322 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#3324 …}
        +entries: Doctrine\ORM\PersistentCollection {#3326 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#3328 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#3330 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3332 …}
        +posts: Doctrine\ORM\PersistentCollection {#3334 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#3336 …}
        +postComments: Doctrine\ORM\PersistentCollection {#3338 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#3340 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#3342 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#3344 …}
        +follows: Doctrine\ORM\PersistentCollection {#3346 …}
        +followers: Doctrine\ORM\PersistentCollection {#3348 …}
        +blocks: Doctrine\ORM\PersistentCollection {#3350 …}
        +blockers: Doctrine\ORM\PersistentCollection {#3352 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#3354 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#3356 …}
        +reports: Doctrine\ORM\PersistentCollection {#3358 …}
        +favourites: Doctrine\ORM\PersistentCollection {#3360 …}
        +violations: Doctrine\ORM\PersistentCollection {#3362 …}
        +notifications: Doctrine\ORM\PersistentCollection {#3364 …}
        +awards: Doctrine\ORM\PersistentCollection {#3366 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#3368 …}
        +categories: Doctrine\ORM\PersistentCollection {#3370 …}
        -id: 9933
        -password: "$2y$13$Cd0jic67tC6T7tuaqa7iWewkFHt3J3XyusH8Bh.FZvcZOPIwsBfA6"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#3372 …}
        +apId: "Uluganda@lemmy.ml"
        +apProfileId: "https://lemmy.ml/u/Uluganda"
        +apPublicUrl: "https://lemmy.ml/u/Uluganda"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "Uluganda"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1707245788 {#3318
          date: 2024-02-06 19:56:28.0 +01:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687567147 {#3319
          date: 2023-06-24 02:39:07.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: Proxies\__CG__\App\Entity\Magazine {#1579
        +icon: Proxies\__CG__\App\Entity\Image {#2847 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#2826
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#2846 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#2844 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#2849 …}
        +entries: Doctrine\ORM\PersistentCollection {#2850 …}
        +posts: Doctrine\ORM\PersistentCollection {#2853 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#2855 …}
        +bans: Doctrine\ORM\PersistentCollection {#2861 …}
        +reports: Doctrine\ORM\PersistentCollection {#2869 …}
        +badges: Doctrine\ORM\PersistentCollection {#2882 …}
        +logs: Doctrine\ORM\PersistentCollection {#2892 …}
        +awards: Doctrine\ORM\PersistentCollection {#2874 …}
        +categories: Doctrine\ORM\PersistentCollection {#2898 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#2827
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#2828
          date: 2023-11-02 13:51:08.0 +01:00
        }
        +__isInitialized__: true
         …2
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1732 …}
      +slug: "Bcache-is-amazing-Making-HDD-way-faster"
      +title: "Bcache is amazing!: Making HDD way faster!"
      +url: null
      +body: """
        Okay, I love Linux. But I always surprised that I can love Linux ever more everyday. The possibility is basically endless!\n
        \n
        I asked about raid0 last week and got a lot of helpful answers. However, this[ answer ](https://lemmy.ml/comment/5577205)from [d3Xter](https://lemmy.ml/u/d3Xt3r@lemmy.nz) really helped me figures how I actually want to [configure my system](https://lemmy.ml/post/7585833). I decided to buy 2x500GB HDD and 120GB NVME SSD. It’s cheap, very cheap. Like $15 total. If there is anything wrong with them, I lost nothing. But boy did I get surprised. I tested BG3, a game that requires SSD to perform well and I see no difference between my old SSD and my new setup. It loads as fast (well, maybe 10-15s slower, but who cares?), and I do not need to wait for the textures to load, at all. Boot time is amazing. I notice no difference at all between this HDD and my last SSD setup. Which is insane!\n
        \n
        But the installation is confusing as hell. I write this pseudo-guide for anyone intersted.\n
        \n
        FIRST: DO NOT STORE ANY DATA IN THIS SETUP FOR ANYTHING REMOTE TO IMPORTANT!\n
        \n
        I favor performance for the cheapest possible above all else. Unless you want to buy 4 HDD to get raid10, do not store anything other than games and your apps on it. Do not use raid5 in this setup, [it sucks.](https://www.phoronix.com/news/Btrfs-RAID-56-Is-Bad)\n
        \n
        Second: Get yourself an Arch live USB stick with at least 8GB (4 might works, but smallest one I have is 8GB). I think you can use it on other distro, but Arch is the easiest if you want to install IT on the bcache drive. And make sure you booted into UEFI by typing:\n
        \n
        `ls /sys/firmware/efi/efivars/`\n
        \n
        Third: Installing bcache. After you have internet on your live system, remount your live iso so we can use the AUR.\n
        \n
        `mount -o remount,size=8G /run/archiso/cowspace`\n
        \n
        Then, install base-devel and git\n
        \n
        `pacman -S base-devel git --ignore linux`\n
        \n
        If you have slow internet, you can go to 2nd tty by pressing ctrl + alt + f2 and login as root there to do the next step, otherwise wait for the process to finish. We need to setup a user since makepkg wont run on root. So, type:\n
        \n
        `useradd -m -G wheel user && passwd user` and set your password Then we need the user to able to act as superuser. So, we edit `visudo` and add this line at the bottom: `user ALL=(ALL:ALL)ALL` save it and press ctrl + alt + f3, login as user you just set. Clone the bcache-tools AUR repo: `git clone https://aur.archlinux.org/bcache-tools.git && cd bcache-tools`\n
        \n
        If you want you can inspect the PKGBUILD, but we will proceed to make it, type:\n
        \n
        `makepkg -sri`\n
        \n
        Once it is done, it will throw error about vmliuz is not found, but the package itself is installed, you just need to tell the kernel to load it. We can achieve that by executing:\n
        \n
        `sudo modprobe bcache && sudo partprobe`\n
        \n
        Fouth: Configuring the bcache, btrfs, and raid0 List your drive with `lsblk` identify your HDD and your SSD. Let’s say in this instance, we have /dev/sda and /dev/sdb as our HDD and /dev/nvme0n1 as our SSD. I use cfdisk to partition my drive, but you can use whatever you want. I make one partition for both HDD, sda1 and sdb1, and make 3 partitions for my SSD. DO NOT FORMATI IT YET. /dev/sda1 : 500 GB HDD with 500GB partition /dev/sdb1 : same as before /dev/nvme0n1p1 : 118G SSD partition as the cache /dev/nvme0n1p2 : 1G partition as /boot. Even if you have one kernel, do not make a /boot partition less than 1G. I knew it in hard way. /dev/nvme0n1p3 : 200M partition as /boot/efi. Same as before, better safe than sorry. YOU NEED TO HAVE SEPARATE BOOT AND EFI PARTITION, OTHERWISE YOU WILL HAVE AN UNBOOTABLE SYSTEM!\n
        \n
        Okay, now we configure our raid.\n
        \n
        `make-bcache -B /dev/sda1 /dev/sdb1`\n
        \n
        This command will make a partition (?) called bcache0 and bcache1 under both /dev/sdb and /dev/sda if you use\n
        \n
        `lsblk`\n
        \n
        Now, we make raid out of those two.\n
        \n
        `mkfs.btrfs -L ARCHACHED -d raid0 /dev/bcache0 /dev/bcache1`\n
        \n
        Then the cache.\n
        \n
        `make-bcache -C /dev/nvme0n1p1`\n
        \n
        We can register the cache for our raid setup by its cset.uuid. To know what is the uuid, we can use this command.\n
        \n
        `bcache-super-show /dev/nvme0n1p1 |grep cset.uuid`\n
        \n
        Example of the output is:\n
        \n
        `cset.uuid fc3aac3b-9663-4067-88af-c5066a6c661b`\n
        \n
        From that, we can register it by using this command:\n
        \n
        `echo fc3aac3b-9663-4067-88af-c5066a6c661b > /sys/block/bcache0/bcache/attach`\n
        \n
        `echo fc3aac3b-9663-4067-88af-c5066a6c661b > /sys/block/bcache1/bcache/attach`\n
        \n
        Done! If you `lsblk` now, you can see that there is bcache0 and bcache1 under the nvme0n1p1 partition.\n
        \n
        Now, we can configure our boot partition.\n
        \n
        `mkfs.ext4 /dev/nvme0n1p2` (Remember, this is the 1G partition)\n
        \n
        `mkfs.vfat -F 32 /dev/nvme0n1p3` (Remember, this is the 200M partition)\n
        \n
        We can then mount all of those drive to install Arch.\n
        \n
        `mount /dev/bcache0 /mnt`\n
        \n
        `btrfs subvolume create /mnt/root`\n
        \n
        `btrfs subvolume create /mnt/var` (optional)\n
        \n
        `btrfs subvolume create /mnt/home` (optional)\n
        \n
        `umount /mnt`\n
        \n
        `mount /dev/bcache0 -o subvol=root,compress=lzo /mnt/`\n
        \n
        `mount --mkdir /dev/bcache0 -o subvol=home,compress=lzo /mnt/home`\n
        \n
        `mount --mkdir /dev/bcache0 -o subvol=var,compress=lzo /mnt/var`\n
        \n
        `mount --mkdir /dev/nvme0n1p2 /mnt/boot`\n
        \n
        `mount --mkdir /dev/nvme0n1p3 /mnt/boot/efi`\n
        \n
        Fifth: Install Arch Follow arch wiki, lol.\n
        \n
        Last: bcache-tools, mkinitcpio, and grub. Go back to tty3, the user one. And copy the bcache-tools package to your newly installed /mnt\n
        \n
        `sudo cp bcache-tools-1.1-1-x86_64.pkg.tar.zst /mnt`\n
        \n
        Then go back tty1 and install it on you arch-chroot.\n
        \n
        `pacman -U bcache-tools-1.1-1-x86_64.pkg.tar.zst`\n
        \n
        Now, we configure the mkinitcpio. Edit your mkinitcpio by using you editor of choice. And add bcache in in MODULES so it looks like this:\n
        \n
        `MODULES=(bcache)`\n
        \n
        And in HOOKS, add it after block and before filesystem. Example:\n
        \n
        `HOOKS=(base udev block bcache flesystem)`\n
        \n
        Make your initcpio by executing this command:\n
        \n
        `mkinitcpio -p linux`\n
        \n
        Grub is the last. Install it as usual. Just make sure you did the partition right, as mentioned before.\n
        \n
        That’s it. You just install Arch Linux on a bcache system. It’s complicated, and headache inducing for sure, but I assure you it is totally worth that pain.\n
        \n
        Note: If you have problem after you reboot, and want to arch-chroot, you need to install bcache-tools again. If you want to reformat anything and it shows the device as busy after you did the `partprobe`, you need to tell the kernel to stop any activity to the drive. In this example the sda is the one you want to edit.\n
        \n
        `echo 1 > /sys/block/sda/sda1/bcache/stop`\n
        \n
        Now, if you accidentally execute the command, you can use `partprobe` again to show it up.\n
        \n
        Reference: [wiki.archlinux.org/title/bcache](https://wiki.archlinux.org/title/bcache)[wiki.archlinux.org/title/btrfs](https://wiki.archlinux.org/title/btrfs)[gist.github.com/…/4c1492f537d9785e19406eb5cd99173…](https://gist.github.com/HardenedArray/4c1492f537d9785e19406eb5cd991735)[…kernel.org/…/Using_Btrfs_with_Multiple_Devices.h…](https://archive.kernel.org/oldwiki/btrfs.wiki.kernel.org/index.php/Using_Btrfs_with_Multiple_Devices.html)
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 22
      +favouriteCount: 131
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1700152658 {#1526
        date: 2023-11-16 17:37:38.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1727 …}
      +votes: Doctrine\ORM\PersistentCollection {#1733 …}
      +reports: Doctrine\ORM\PersistentCollection {#1719 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1691 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1711 …}
      +badges: Doctrine\ORM\PersistentCollection {#1621 …}
      +children: [
        App\Entity\EntryComment {#1697}
      ]
      -id: 13261
      -titleTs: "'amaz':3 'bcach':1 'faster':7 'hdd':5 'make':4 'way':6"
      -bodyTs: "'-15':125 '-4067':748,766,775 '-88':749,767,776 '-9663':747,765,774 '/4c1492f537d9785e19406eb5cd99173':1131 '/bcache-tools.git':448 '/boot':606,617 '/boot/efi':632 '/comment/5577205)from':40 '/dev/bcache0':700,836,855,864,873 '/dev/bcache1':701 '/dev/nvme0n1':544 '/dev/nvme0n1p1':595,709,737 '/dev/nvme0n1p2':602,807,882 '/dev/nvme0n1p3':628,817,886 '/dev/sda':537,682 '/dev/sda1':584,666 '/dev/sdb':539,680 '/dev/sdb1':591,667 '/hardenedarray/4c1492f537d9785e19406eb5cd991735)[':1134 '/mnt':837,853,861,920,924 '/mnt/boot':883 '/mnt/boot/efi':887 '/mnt/home':850,870 '/mnt/root':841 '/mnt/var':845,879 '/news/btrfs-raid-56-is-bad)':239 '/oldwiki/btrfs.wiki.kernel.org/index.php/using_btrfs_with_multiple_devices.html)':1139 '/post/7585833).':59 '/run/archiso/cowspace':323 '/sys/block/bcache0/bcache/attach':771 '/sys/block/bcache1/bcache/attach':780 '/sys/block/sda/sda1/bcache/stop':1110 '/sys/firmware/efi/efivars':296 '/title/bcache](https://wiki.archlinux.org/title/bcache)[wiki.archlinux.org/title/btrfs](https://wiki.archlinux.org/title/btrfs)[gist.github.com/':1130 '/u/d3xt3r@lemmy.nz)':44 '/using_btrfs_with_multiple_devices.h':1136 '1':1109 '10':124 '118g':596 '120gb':67 '15':76 '1g':603,621,812 '200m':629,822 '2nd':348 '2x500gb':64 '3':574 '32':816 '4':211,252 '500':585 '500gb':589 '8g':322 '8gb':251,261 'abl':403 'accident':1114 'achiev':502 'act':405 'activ':1092 'actual':51 'add':413,955,970 'af':751,769,778 'af-c5066a6c661b':750,768,777 'alt':353,429 'alway':7 'amaz':148 'answer':34,37 'anyon':180 'anyth':81,192,219,1070 'app':225 'arch':244,272,834,890,892,935,1019,1055 'arch-chroot':934,1054 'archach':697 'archive.kernel.org':1138 'archive.kernel.org/oldwiki/btrfs.wiki.kernel.org/index.php/using_btrfs_with_multiple_devices.html)':1137 'ask':23 'assur':1035 'aur':317,442 'aur.archlinux.org':447 'aur.archlinux.org/bcache-tools.git':446 'b':665 'back':903,927 'base':327,334,979 'base-devel':326,333 'basic':20 'bcach':284,299,440,451,508,514,664,707,734,897,913,956,966,982,1023,1062 'bcache-super-show':733 'bcache-tool':439,450,896,912,1061 'bcache-tools-1.1-1-x86_64.pkg.tar.zst':923,939 'bcache0':675,792 'bcache1':677,794 'better':636 'bg3':96 'block':973,981 'boot':145,290,645,804 'bottom':418 'boy':89 'btrfs':515,838,842,847 'busi':1077 'buy':63,210 'c':708 'c5066a6c661b':752,770,779 'cach':601,704,714 'call':674 'care':130 'cd':449 'cfdisk':550 'cheap':72,74 'cheapest':201 'choic':953 'chroot':936,1056 'clone':437,445 'command':669,732,762,990,1117 'complic':1027 'compress':859,868,877 'configur':54,512,659,802,942 'confus':170 'copi':910 'cp':922 'creat':840,844,849 'cset.uuid':721,739,745 'ctrl':352,428 'd':698 'd3xter':41 'data':187 'decid':61 'devel':328,335 'devic':1075 'differ':109,152 'distro':270 'done':474,781 'drive':285,520,554,831,1095 'easiest':275 'echo':763,772,1108 'edit':410,945,1107 'editor':951 'efi':647 'els':205 'endless':21 'error':478 'even':607 'ever':14 'everyday':16 'exampl':740,977,1098 'execut':505,988,1115 'f':815 'f2':354 'f3':430 'fast':121 'favor':197 'fc3aac3b':746,764,773 'fifth':888 'figur':48 'filesystem':976 'finish':371 'first':182 'flesystem':983 'follow':891 'formati':581 'found':483 'fouth':511 'g':388 'game':98,222 'gb':586 'get':92,214,241 'gist.github.com':1133 'gist.github.com/hardenedarray/4c1492f537d9785e19406eb5cd991735)[':1132 'git':330,336,444 'go':346,902,926 'got':29 'grep':738 'grub':901,994 'guid':178 'hard':626 'hdd':65,157,212,525,542,568,587 'headach':1029 'hell':172 'help':33,46 'home':867 'hook':969,978 'howev':35 'identifi':523 'ignor':337 'import':195 'induc':1030 'initcpio':986 'insan':165 'inspect':458 'instal':168,280,298,325,489,833,889,919,930,998,1018,1060 'instanc':534 'internet':303,343 'interst':181 'iso':311 'kernel':496,612,1088 'kernel.org':1135 'knew':623 'know':723 'l':696 'last':26,160,895,997 'least':250 'lemmy.ml':39,43,58 'lemmy.ml/comment/5577205)from':38 'lemmy.ml/post/7585833).':57 'lemmy.ml/u/d3xt3r@lemmy.nz)':42 'less':619 'let':529 'like':75,963 'line':415 'linux':4,13,338,993,1020 'list':518 'live':245,306,310 'load':119,142,498 'login':356,431 'lol':894 'look':962 'lost':86 'lot':31 'love':3,12 'ls':295 'lsblk':522,686,784 'lzo':860,869,878 'm':387 'make':287,466,563,573,615,663,671,689,706,984,1003 'make-bcach':662,705 'makepkg':379,469 'mayb':123 'mention':1011 'might':253 'mkdir':863,872,881,885 'mkfs.btrfs':695 'mkfs.ext4':806 'mkfs.vfat':814 'mkinitcpio':899,944,947,991 'modprob':507 'modul':959,965 'mount':318,827,835,854,862,871,880,884 'need':135,373,399,492,641,1058,1084 'new':116 'newli':918 'next':363 'note':1043 'noth':87 'notic':150 'nvme':68 'nvme0n1p1':797 'o':319,856,865,874 'okay':1,656 'old':112 'one':257,564,611,908,1103 'option':846,851 'otherwis':365,649 'output':743 'p':992 'packag':486,915 'pacman':331,937 'pain':1042 'partit':552,565,575,590,598,604,618,630,648,673,798,805,813,823,1008 'partprob':510,1082,1121 'passwd':391 'password':396 'perform':103,198 'pkgbuild':460 'possibl':18,202 'press':351,427 'problem':1047 'proceed':464 'process':369 'pseudo':177 'pseudo-guid':176 'raid':661,690,717 'raid0':25,517,699 'raid10':215 'raid5':231 'realli':45 'reboot':1050 'refer':1127 'reformat':1069 'regist':712,757 'rememb':808,818 'remot':193 'remount':308,320 'repo':443 'requir':100 'right':1009 'root':358,383,858 'run':381 'safe':637 'save':424 'say':531 'sda':1100 'sda1':569 'sdb1':571 'second':240 'see':107,788 'separ':644 'set':394,436 'setup':117,162,190,234,375,718 'show':736,1073,1124 'sinc':378 'size':321 'slow':342 'slower':127 'smallest':256 'sorri':639 'sri':470 'ssd':69,101,113,161,528,547,578,597 'step':364 'stick':247 'stop':1090 'store':185,218 'subvol':857,866,875 'subvolum':839,843,848 'suck':236 'sudo':506,509,921 'super':735 'superus':407 'sure':288,1004,1032 'surpris':8,93 'system':56,307,655,1024 'tell':494,1086 'test':95 'textur':140 'think':263 'third':297 'throw':477 'time':146 'tool':441,452,898,914,1063 'total':77,1039 'tti':349 'tty1':928 'tty3':905 'two':694 'type':294,385,468 'u':938 'udev':980 'uefi':292 'umount':852 'unboot':654 'unless':206 'usb':246 'use':230,266,315,549,558,685,730,760,949,1120 'user':377,390,392,401,419,433,907 'useradd':386 'usual':1001 'uuid':727 'var':876 'visudo':411 'vmliuz':480 'wait':137,366 'want':52,208,278,455,561,1052,1067,1105 'way':627 'week':27 'well':104,122 'whatev':559 'wheel':389 'wiki':893 'wiki.archlinux.org':1129 'wiki.archlinux.org/title/bcache](https://wiki.archlinux.org/title/bcache)[wiki.archlinux.org/title/btrfs](https://wiki.archlinux.org/title/btrfs)[gist.github.com/':1128 'wont':380 'work':254 'worth':1040 'write':174 'wrong':82 'www.phoronix.com':238 'www.phoronix.com/news/btrfs-raid-56-is-bad)':237 'yet':583"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1700146309
      +visibility: "visible             "
      +apId: "https://lemmy.ml/post/8002348"
      +editedAt: DateTimeImmutable @1700319306 {#1693
        date: 2023-11-18 15:55:06.0 +01:00
      }
      +createdAt: DateTimeImmutable @1700059909 {#1550
        date: 2023-11-15 15:51:49.0 +01:00
      }
      +__isInitialized__: true
       …2
    }
    +magazine: Proxies\__CG__\App\Entity\Magazine {#1579 …2}
    +image: null
    +parent: null
    +root: null
    +body: """
      Thanks for writing this! Getting bcache set up the first time can be confusing, so this certainly helps.\n
      \n
      I’ll just drop one warning in here. With a setup very much like described here I’ve had severe data corruption and loss, so please make sure your data is properly and regularly backed up. To me it seemed like almost any unexpected or untimely power off would cause some data loss or significant corruption.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 6
    +score: 0
    +lastActive: DateTime @1700129102 {#1439
      date: 2023-11-16 11:05:02.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@Uluganda@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#1580 …}
    +nested: Doctrine\ORM\PersistentCollection {#1583 …}
    +votes: Doctrine\ORM\PersistentCollection {#1582 …}
    +reports: Doctrine\ORM\PersistentCollection {#1589 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1572 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1666 …}
    -id: 129669
    -bodyTs: "'almost':60 'back':53 'bcach':6 'caus':68 'certain':17 'confus':14 'corrupt':40,74 'data':39,48,70 'describ':33 'drop':22 'first':10 'get':5 'help':18 'like':32,59 'll':20 'loss':42,71 'make':45 'much':31 'one':23 'pleas':44 'power':65 'proper':50 'regular':52 'seem':58 'set':7 'setup':29 'sever':38 'signific':73 'sure':46 'thank':1 'time':11 'unexpect':62 'untim':64 've':36 'warn':24 'would':67 'write':3"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.ml/comment/5846844"
    +editedAt: null
    +createdAt: DateTimeImmutable @1700129102 {#1435
      date: 2023-11-16 11:05:02.0 +01:00
    }
    +"title": 129669
  }
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
settings_row_enum App\Twig\Components\SettingsRowEnumComponent 12.0 MiB 0.27 ms
Input props
[
  "label" => "Sidebar position"
  "settingsKey" => "KBIN_GENERAL_SIDEBAR_POSITION"
  "values" => [
    [
      "name" => "Left"
      "value" => "LEFT"
    ]
    [
      "name" => "Right"
      "value" => "RIGHT"
    ]
  ]
  "defaultValue" => "RIGHT"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowEnumComponent {#4723
  +label: "Sidebar position"
  +help: ""
  +settingsKey: "KBIN_GENERAL_SIDEBAR_POSITION"
  +values: [
    [
      "name" => "Left"
      "value" => "LEFT"
    ]
    [
      "name" => "Right"
      "value" => "RIGHT"
    ]
  ]
  +defaultValue: "RIGHT"
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 12.0 MiB 0.23 ms
Input props
[
  "label" => "Dynamic lists"
  "settingsKey" => "KBIN_GENERAL_DYNAMIC_LISTS"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#4795
  +label: "Dynamic lists"
  +help: ""
  +settingsKey: "KBIN_GENERAL_DYNAMIC_LISTS"
  +defaultValue: false
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 12.0 MiB 0.21 ms
Input props
[
  "label" => "Rounded edges"
  "settingsKey" => "KBIN_GENERAL_ROUNDED_EDGES"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#4858
  +label: "Rounded edges"
  +help: ""
  +settingsKey: "KBIN_GENERAL_ROUNDED_EDGES"
  +defaultValue: false
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 12.0 MiB 0.19 ms
Input props
[
  "label" => "Infinite scrolling"
  "help" => "Automatically load more content when you reach the bottom of the page."
  "settingsKey" => "KBIN_GENERAL_INFINITE_SCROLL"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#4914
  +label: "Infinite scrolling"
  +help: "Automatically load more content when you reach the bottom of the page."
  +settingsKey: "KBIN_GENERAL_INFINITE_SCROLL"
  +defaultValue: false
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 12.0 MiB 0.17 ms
Input props
[
  "label" => "Sticky navbar"
  "help" => "The navbar will stick to the top of the page when you scroll down."
  "settingsKey" => "KBIN_GENERAL_FIXED_NAVBAR"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#4973
  +label: "Sticky navbar"
  +help: "The navbar will stick to the top of the page when you scroll down."
  +settingsKey: "KBIN_GENERAL_FIXED_NAVBAR"
  +defaultValue: false
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 12.0 MiB 0.16 ms
Input props
[
  "label" => "Show top bar"
  "settingsKey" => "KBIN_GENERAL_TOPBAR"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#5029
  +label: "Show top bar"
  +help: ""
  +settingsKey: "KBIN_GENERAL_TOPBAR"
  +defaultValue: false
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 12.0 MiB 0.19 ms
Input props
[
  "label" => "Turbo mode (experimental)"
  "settingsKey" => "KBIN_GENERAL_TURBO"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#5085
  +label: "Turbo mode (experimental)"
  +help: ""
  +settingsKey: "KBIN_GENERAL_TURBO"
  +defaultValue: false
  +reloadRequired: true
}
user_settings_row_switch App\Twig\Components\UserSettingsRowSwitchComponent 12.0 MiB 0.28 ms
Input props
[
  "label" => "Mark new comments"
  "settingsKey" => "KBIN_MARK_NEW_COMMENTS"
]
Attributes
[]
Component
App\Twig\Components\UserSettingsRowSwitchComponent {#5143
  +label: "Mark new comments"
  +help: ""
  +settingsKey: "KBIN_MARK_NEW_COMMENTS"
  +defaultValue: false
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 12.0 MiB 0.17 ms
Input props
[
  "label" => "Show "Support Us" block"
  "settingsKey" => "KBIN_GENERAL_SUPPORT_US_BLOCK"
  "defaultValue" => true
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#5206
  +label: "Show "Support Us" block"
  +help: ""
  +settingsKey: "KBIN_GENERAL_SUPPORT_US_BLOCK"
  +defaultValue: true
  +reloadRequired: true
}
user_settings_row_switch App\Twig\Components\UserSettingsRowSwitchComponent 12.0 MiB 0.18 ms
Input props
[
  "label" => "Show subscribed users"
  "settingsKey" => "KBIN_SUB_CHANNEL_USERS"
]
Attributes
[]
Component
App\Twig\Components\UserSettingsRowSwitchComponent {#5264
  +label: "Show subscribed users"
  +help: ""
  +settingsKey: "KBIN_SUB_CHANNEL_USERS"
  +defaultValue: false
  +reloadRequired: true
}
user_settings_row_switch App\Twig\Components\UserSettingsRowSwitchComponent 12.0 MiB 0.23 ms
Input props
[
  "label" => "Show subscribed magazines"
  "settingsKey" => "KBIN_SUB_CHANNEL_MAGAZINES"
]
Attributes
[]
Component
App\Twig\Components\UserSettingsRowSwitchComponent {#5320
  +label: "Show subscribed magazines"
  +help: ""
  +settingsKey: "KBIN_SUB_CHANNEL_MAGAZINES"
  +defaultValue: false
  +reloadRequired: true
}
user_settings_row_switch App\Twig\Components\UserSettingsRowSwitchComponent 12.0 MiB 0.24 ms
Input props
[
  "label" => "Show subscribed domains"
  "settingsKey" => "KBIN_SUB_CHANNEL_DOMAINS"
]
Attributes
[]
Component
App\Twig\Components\UserSettingsRowSwitchComponent {#5376
  +label: "Show subscribed domains"
  +help: ""
  +settingsKey: "KBIN_SUB_CHANNEL_DOMAINS"
  +defaultValue: false
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 12.0 MiB 0.14 ms
Input props
[
  "label" => "Auto media preview"
  "help" => "Automatically expand media previews."
  "settingsKey" => "KBIN_ENTRIES_SHOW_PREVIEW"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#5432
  +label: "Auto media preview"
  +help: "Automatically expand media previews."
  +settingsKey: "KBIN_ENTRIES_SHOW_PREVIEW"
  +defaultValue: false
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 12.0 MiB 0.16 ms
Input props
[
  "label" => "Compact view"
  "settingsKey" => "KBIN_ENTRIES_COMPACT"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#5488
  +label: "Compact view"
  +help: ""
  +settingsKey: "KBIN_ENTRIES_COMPACT"
  +defaultValue: false
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 12.0 MiB 0.14 ms
Input props
[
  "label" => "Show users’ avatars"
  "settingsKey" => "KBIN_ENTRIES_SHOW_USERS_AVATARS"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#5544
  +label: "Show users’ avatars"
  +help: ""
  +settingsKey: "KBIN_ENTRIES_SHOW_USERS_AVATARS"
  +defaultValue: false
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 12.0 MiB 0.20 ms
Input props
[
  "label" => "Show magazines’ icons"
  "settingsKey" => "KBIN_ENTRIES_SHOW_MAGAZINES_ICONS"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#5600
  +label: "Show magazines’ icons"
  +help: ""
  +settingsKey: "KBIN_ENTRIES_SHOW_MAGAZINES_ICONS"
  +defaultValue: false
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 12.0 MiB 0.16 ms
Input props
[
  "label" => "Show thumbnails"
  "settingsKey" => "KBIN_ENTRIES_SHOW_THUMBNAILS"
  "defaultValue" => true
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#5656
  +label: "Show thumbnails"
  +help: ""
  +settingsKey: "KBIN_ENTRIES_SHOW_THUMBNAILS"
  +defaultValue: true
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 12.0 MiB 0.14 ms
Input props
[
  "label" => "Auto media preview"
  "help" => "Automatically expand media previews."
  "settingsKey" => "KBIN_POSTS_SHOW_PREVIEW"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#5712
  +label: "Auto media preview"
  +help: "Automatically expand media previews."
  +settingsKey: "KBIN_POSTS_SHOW_PREVIEW"
  +defaultValue: false
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 12.0 MiB 0.22 ms
Input props
[
  "label" => "Show users’ avatars"
  "settingsKey" => "KBIN_POSTS_SHOW_USERS_AVATARS"
  "defaultValue" => true
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#5768
  +label: "Show users’ avatars"
  +help: ""
  +settingsKey: "KBIN_POSTS_SHOW_USERS_AVATARS"
  +defaultValue: true
  +reloadRequired: true
}
settings_row_enum App\Twig\Components\SettingsRowEnumComponent 12.0 MiB 0.41 ms
Input props
[
  "label" => "Comment reply position"
  "help" => "Display the comment reply form either at the top or bottom of the page. When 'infinite scroll' is enabled the position will always appear at the top."
  "settingsKey" => "KBIN_COMMENTS_REPLY_POSITION"
  "values" => [
    [
      "name" => "top"
      "value" => "TOP"
    ]
    [
      "name" => "bottom"
      "value" => "BOTTOM"
    ]
  ]
  "defaultValue" => "TOP"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowEnumComponent {#5824
  +label: "Comment reply position"
  +help: "Display the comment reply form either at the top or bottom of the page. When 'infinite scroll' is enabled the position will always appear at the top."
  +settingsKey: "KBIN_COMMENTS_REPLY_POSITION"
  +values: [
    [
      "name" => "top"
      "value" => "TOP"
    ]
    [
      "name" => "bottom"
      "value" => "BOTTOM"
    ]
  ]
  +defaultValue: "TOP"
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 12.0 MiB 0.34 ms
Input props
[
  "label" => "Show Comment Avatars"
  "help" => "Display/hide user avatars when viewing comments on a single thread or post."
  "settingsKey" => "KBIN_COMMENTS_SHOW_USER_AVATAR"
  "defaultValue" => true
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#5882
  +label: "Show Comment Avatars"
  +help: "Display/hide user avatars when viewing comments on a single thread or post."
  +settingsKey: "KBIN_COMMENTS_SHOW_USER_AVATAR"
  +defaultValue: true
  +reloadRequired: true
}
date App\Twig\Components\DateComponent 12.0 MiB 0.28 ms
Input props
[
  "date" => DateTimeImmutable @1700395689 {#268
    date: 2023-11-19 13:08:09.0 +01:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateComponent {#5955
  +date: DateTimeImmutable @1700395689 {#268
    date: 2023-11-19 13:08:09.0 +01:00
  }
}
related_magazines App\Twig\Components\RelatedMagazinesComponent 12.0 MiB 11.39 ms
Input props
[
  "magazine" => null
  "tag" => null
]
Attributes
[]
Component
App\Twig\Components\RelatedMagazinesComponent {#6042
  +limit: 4
  +tag: null
  +magazine: null
  +type: "random"
  +title: "random_magazines"
  +refreshedRandom: false
  -repository: App\Repository\MagazineRepository {#1370 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -twig: Twig\Environment {#1252 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
}
active_users App\Twig\Components\ActiveUsersComponent 12.0 MiB 97.50 ms
Input props
[
  "magazine" => null
]
Attributes
[]
Component
App\Twig\Components\ActiveUsersComponent {#6107
  +magazine: null
  -userRepository: App\Repository\UserRepository {#603 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -twig: Twig\Environment {#1252 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
}
related_categories App\Twig\Components\RelatedCategoriesComponent 12.0 MiB 6.07 ms
Input props
[
  "magazine" => null
  "tag" => null
]
Attributes
[]
Component
App\Twig\Components\RelatedCategoriesComponent {#6189
  +limit: 4
  +tag: null
  +magazine: null
  +type: "random"
  +title: "random_categories"
  +refreshedRandom: false
  -repository: App\Repository\CategoryRepository {#6188 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -twig: Twig\Environment {#1252 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
}
related_posts App\Twig\Components\RelatedPostsComponent 12.0 MiB 8.70 ms
Input props
[
  "magazine" => null
  "tag" => null
]
Attributes
[]
Component
App\Twig\Components\RelatedPostsComponent {#6246
  +limit: 4
  +tag: null
  +magazine: null
  +type: "random"
  +post: null
  +title: "random_posts"
  +refreshedRandom: false
  -repository: App\Repository\PostRepository {#1764 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -twig: Twig\Environment {#1252 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
  -mentionManager: App\Service\MentionManager {#1504 …}
}
related_entries App\Twig\Components\RelatedEntriesComponent 12.0 MiB 12.15 ms
Input props
[
  "magazine" => null
  "tag" => null
]
Attributes
[]
Component
App\Twig\Components\RelatedEntriesComponent {#6315
  +limit: 4
  +tag: null
  +magazine: null
  +type: "random"
  +entry: null
  +title: "random_entries"
  +refreshedRandom: false
  -repository: App\Repository\EntryRepository {#1763 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -twig: Twig\Environment {#1252 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
  -mentionManager: App\Service\MentionManager {#1504 …}
}
support_us_block App\Twig\Components\SupportUsBlock 12.0 MiB 9.53 ms
Input props
[]
Attributes
[]
Component
App\Twig\Components\SupportUsBlock {#6384
  +subject: ? App\Entity\Contracts\VotableInterface
  +url: ? string
  -twig: Twig\Environment {#1252 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
  -partnerBlockRepository: App\Repository\PartnerBlockRepository {#6385 …}
}
featured_magazines App\Twig\Components\FeaturedMagazinesComponent 12.0 MiB 12.58 ms
Input props
[
  "magazine" => null
]
Attributes
[]
Component
App\Twig\Components\FeaturedMagazinesComponent {#6477
  +magazine: null
  -twig: Twig\Environment {#1252 …}
  -repository: App\Repository\MagazineRepository {#1370 …}
}