SK4nda1

joined 1 year ago
[–] [email protected] 1 points 10 months ago

Thanks for your reply! Very helpful. The image I grabbed from the offial docs here: https://btrfs.readthedocs.io/en/latest/mkfs.btrfs.html#mkfs-section-profiles

I'll do some testing with raid 1 to see if it behaves as I expect. The only way to be properly sure i guess.

 

Hey all,

I want to start using btrfs on my san/nas and use that as a backend for my nextCloud. Before I had read up on btrfs I was thinking about using RAID1. I thought RAID1 would fulfill my two requirements:

  • It would allow me to just pull out a disk and put in a usb dock and read its contents. (disaster recovery, or for my SO to just power down the server and get her data off if something happens to me).
  • It would simply Mirror the data so a single drive can fail and everything is fine.

Now I read things on the documentation of btrfs and in some other places that the RAID1 implementation of btrfs is non-standard, in that is also has some striping functionality.

The image included is from the btrfs docs and it seems it also stripes, not just mirrors, when using 4 disks.

Now my question is: What is its behaviour when using 2 disks? Will this fullfill my two requirements? If not do you have any other recommendations? (I mean i could use zfs...)

A penny for your thoughs :-).

[–] [email protected] 1 points 10 months ago

Hey thanks! Thats it. mkfs.btrfs fixed it. Its weitd though that the other disks were recognized correctly.

Now I can go and experiment with raid setups

[–] [email protected] 1 points 10 months ago (2 children)

Ah my apologies, I used the word formatted incorrectly. I use parted to do: ''' Rm 1 Mkpart primary btrfs 1 3,6T '''

Parted then shows the btrfs filesystem. If I then quit and look at 'lsblk -fs' it shows me the table in my post. I think I do this right. Im going to remove the disk and see how it behaves on another pc.

5
submitted 10 months ago* (last edited 10 months ago) by [email protected] to c/[email protected]
 

Hey all,

Edit: changed confusing wording based on dack's comment.

I have a problem. I'm building a SAN and I'm playing around with btrfs to learn more about how to use it.

I run into the problem where my sdd1 partition is recognized as swap filesystem. I don't understand whats going on here. I formatted all these drives through my usb-dock via my desktop. All the others are fine, so why is this one giving me problems? I tried removing it with parted amd recreating it as btrfs or ext4 doesnt seem to help.

Does anyone have any insight of why this is happening?

root@server :~# lsblk --fs
....
sdc                                                                                                           
└─sdc1                       ext4        1.0            e3e8849d-a25e-4235-8ebf-ca84a7637f64                  
sdd                                                                                                           
└─sdd1                       swap        1              445ae89e-05ef-4fd0-98e3-b592fb2a8a9c                  
sde                                                                                                           
└─sde1                       btrfs                      bc864736-2bf6-4379-aa57-46f1c0f3a95d 
 

Hey all.

I need some advice on how to deal with the adhoc vs planned work. There are emails, tickets and verbal interruptions that need my attention. Additionally there is an incrr sing amount of meetings I need to attend. At the same time I want to focus on the development of the infrastructure for the planned work. I notice that all the interruptions are detrimental to both the planned and the adhoc work.

The fact that I have to switch my attention all the time and can't just focus starts to frustrate me. It also has to do with my adhd. I cant utilize my hyperfocus to finish the planned work, instead it stimulates the attention switching side of my adhd and cant get into the problem. I just notice I am not as effective as I was before I got this workload.

Do you people recognize this struggle? How do you deal with this?

[–] [email protected] 7 points 10 months ago (3 children)

I use open dyslexia as I have dyslexia. Its very nice!

[–] [email protected] 9 points 10 months ago

Most answers you will read here will have technical reasons at its core. For a normal average user that gew up with it, windows is fine. But as soon as you get a bit more tech savvy and/or privacy minded you suddenly see a lot to be desired. Most people switch to linux because they want more control, because its structure is more technically elegant, more responsive and because they don't trust microsoft to respect their privacy.

Windows is 50GB on disk to install. An insane size for an OS. Windows often calls home without any indicaton or transparancy why. In linux you can control everything yourself. Windows is often slow or inefficient.. On windows you have only limited ways to craft and costomize your desktop experience, which in linux allows fully. And more reasons like these.

As you can see for tech savvy people linux offers the tools to take control over your computing needs, if you have or develop the skills to do so. For more mainstream grade experiences distros like Ubuntu or Pop!OS provide a great environment that allows people to ignore the more technical stuff and get on with their needs. Using linux as your daily driver will require you to leave behind some old habits and learn some new ones, but its worth it in my opinion.

I daily drive PopOS on my gaming rig and whatever distro that catches my fancy on my development homelab labtop.

[–] [email protected] 1 points 10 months ago

Back when I smoked and was an unexperienced driver, I was having a cig in my car. I stuck it out of the window to tap off the ash and I drifted off of the road with my right side tires. Instead of slowly moving back I jamked the wheel and almost had a head to head collision with traffic in the oncomming lane. Escaped death by half a meter.

[–] [email protected] 2 points 10 months ago

I do regularly. I used it a lot and I think knowledge should be free.

[–] [email protected] 2 points 10 months ago
[–] [email protected] 2 points 10 months ago

Yes. Replace tire plz.

[–] [email protected] 1 points 10 months ago

I'll take a look. Thanks! :-D

 

Hey all,

I would like to get the above certifications. What resources did you use to study? I can't afford the official training and my employer doesn't want to pay for it.

Any and all help, and all tales of your experience is aplriciated.

 

Hey all,

I would like to get the above certifications. What resources did you use to study? I can't afford the official training and my employer doesn't want to pay for it.

Any and all help, and all tales of your experience is aplriciated.

[–] [email protected] 4 points 11 months ago

Im really curious. I use the gnome that comes with pop now. I really cant wait to explore cosmic.

[–] [email protected] 2 points 11 months ago

Inspector george gently and xcom 2

view more: next ›