Re: [gentoo-user] which filesystem is best for raid 0?
On 8/12/20 5:56 PM, Adam Carter wrote: Depends on your use case, ... so what you use will depend on speed/reliability trade off. There are some specific uses cases where speed is desired at least an order of magnitude more than reliability. ext2 is less reliable due to it missing the journal Some cases, that's an advantage. Consider a use case where having the files is a benefit, but not having the files only means that they are fetched over the network. Like a caching proxy's on disk cache. If the caching proxy looses it's disk cache, so what. It re-downloads the files and moves on with life. RAW /speed/ is more important in these types of limited use cases. As such, the journal is actually a disadvantage /because/ it slows things down somewhat. -- Grant. . . . unix || die
Re: [gentoo-user] which filesystem is best for raid 0?
On Thu, Aug 13, 2020 at 5:29 AM Grant Taylor < gtay...@gentoo.tnetconsulting.net> wrote: > On 8/12/20 11:53 AM, Никита Степанов wrote: > > which filesystem is best for raid 0? > Performance wise, ext4 and XFS lead most benchmarks for non-raid. XFS seems best for raid1, so I imagine either of those would be best for raid0. Depends on your use case, but ext2 (and to a much lesser degree btrfs) will be less reliable than ext4 or XFS so what you use will depend on speed/reliability trade off. ext2 is less reliable due to it missing the journal, btrfs due to being less mature (IMO, this is a weakly held belief). Also btrfs tends to be slower than ext4 and XFS for most operations, sometimes by a large margin. https://www.phoronix.com/scan.php?page=article=linux-50-filesystems=2
[gentoo-user] can't mount raid0
livecd gentoo # mount /dev/md1 /mnt/gentoo mount: unknown filesystem type 'linux_raid_member' what to do?
[gentoo-user] which filesystem is best for raid 0?
which filesystem is best for raid 0?
Re: [gentoo-user] can't mount raid0
On Wed, Aug 12, 2020 at 3:30 PM Grant Taylor wrote: > > On 8/12/20 1:28 PM, Никита Степанов wrote: > > livecd gentoo # mount /dev/md1 /mnt/gentoo > > mount: unknown filesystem type 'linux_raid_member' > > what to do? > > What does /proc/mdstat show? > > Is it a partitioned software RAID? If so, you need the partition > devices and to mount the desired partition. I haven't run mdadm in ages, but it almost sounds like a raid was accidentally created inside another raid. The kernel assembled the raw devices into /dev/md1. However, when mount checked the contents of /dev/md1 it found a raid member signature instead of a filesystem. That suggests that /dev/md1 is one component of a larger raid (which might only have one device in it). That almost certainly isn't what was intended. I wouldn't be surprised if it is possible to do by accident though. -- Rich
Re: [gentoo-user] can't mount raid0
On 12/08/2020 20:28, Никита Степанов wrote: livecd gentoo # mount /dev/md1 /mnt/gentoo mount: unknown filesystem type 'linux_raid_member' what to do? cat /proc/mdstat ? Cheers, Wol
Re: [gentoo-user] can't mount raid0
On 8/12/20 1:28 PM, Никита Степанов wrote: livecd gentoo # mount /dev/md1 /mnt/gentoo mount: unknown filesystem type 'linux_raid_member' what to do? What does /proc/mdstat show? Is it a partitioned software RAID? If so, you need the partition devices and to mount the desired partition. -- Grant. . . . unix || die
Re: [gentoo-user] which filesystem is best for raid 0?
On 8/12/20 11:53 AM, Никита Степанов wrote: which filesystem is best for raid 0? I'm guessing that you're after speed more than anything else since you're talking about RAID 0. As such, I'd suggest avoiding a journaling file system as that's probably unnecessary overhead. I'd consider ext2 for something like a news spool where performance is more important and the data is somewhat ephemeral. Likewise for a caching proxy spool. -- Grant. . . . unix || die
Re: [gentoo-user] which filesystem is best for raid 0?
On 12/08/2020 18:53, Никита Степанов wrote: which filesystem is best for raid 0? DON'T. https://raid.wiki.kernel.org/index.php/Linux_Raid If you're thinking about raid 0, I'll suggest using btrfs instead. Just don't forget that, by default, btrfs mirrors the metadata (I think that means the directories), but does not mirror the data. Losing a disk means losing all the files that are on it. What further thoughts do you have? WHY do you want a raid 0? It's not recommended, precisely because losing a drive means a massively increased risk of losing everything. Cheers, Wol
Re: [gentoo-user] systemd 246 gives strange messages
On Wed, 12 Aug 2020 10:55:14 -0400, Rich Freeman wrote: > > On Wed, Aug 12, 2020 at 9:32 AM John Covici wrote: > > > > Does this indicate a problem, and if not, how can I stop these > > messages? > > > > I'm guessing it is just log spam, but I don't use Gnome so I can't > really be sure. You might do well to ask on a Gnome mailing list, or > maybe ping one of the gnome maintainers on Gentoo. > > It looks like Gnome is integrating with systemd via xdg and a new > systemd generator to have systemd automatically launch some services > based on events. If I had to take a wild guess some of these services > are managed by systemd, and others are not, and systemd is being noisy > about the ones that aren't. > > But it is also possible something is broken. I bet a Gnome maintainer > would know what is going on offhand. They may not monitor this list > but if you pinged one on IRC/email and asked them to look they > probably would. The Gentoo maintainer is probably your best first > bet, but we probably run relatively close to upstream since that's how > Gentoo does stuff, so upstream might also help you. I know on the > systemd front we try to stay close to upstream (much closer to > something like Arch than something like Ubuntu). OK, I will check, thanks a lot. -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici wb2una cov...@ccs.covici.com
Re: [gentoo-user] systemd 246 gives strange messages
On Wed, Aug 12, 2020 at 9:32 AM John Covici wrote: > > Does this indicate a problem, and if not, how can I stop these > messages? > I'm guessing it is just log spam, but I don't use Gnome so I can't really be sure. You might do well to ask on a Gnome mailing list, or maybe ping one of the gnome maintainers on Gentoo. It looks like Gnome is integrating with systemd via xdg and a new systemd generator to have systemd automatically launch some services based on events. If I had to take a wild guess some of these services are managed by systemd, and others are not, and systemd is being noisy about the ones that aren't. But it is also possible something is broken. I bet a Gnome maintainer would know what is going on offhand. They may not monitor this list but if you pinged one on IRC/email and asked them to look they probably would. The Gentoo maintainer is probably your best first bet, but we probably run relatively close to upstream since that's how Gentoo does stuff, so upstream might also help you. I know on the systemd front we try to stay close to upstream (much closer to something like Arch than something like Ubuntu). -- Rich
[gentoo-user] systemd 246 gives strange messages
Hi. After the latest update to systemd 246, I get periodic messages like these: systemd[7985]: Not generating service for XDG autostart app-nm\x2dapplet-autostart.service, it is hidden. systemd[7985]: Not generating service for XDG autostart app-org.gnome.SettingsDaemon.XSettings-autostart.service, startup phases are not supported. systemd[7985]: Not generating service for XDG autostart app-org.gnome.SettingsDaemon.Wacom-autostart.service, startup phases are not supported. systemd[7985]: Not generating service for XDG autostart app-pulseaudio-autostart.service, startup phases are not supported. systemd[7985]: Not generating service for XDG autostart app-org.gnome.SettingsDaemon.ScreensaverProxy-autostart.service, startup phases are not supported. systemd[7985]: Not generating service for XDG autostart app-org.gnome.SettingsDaemon.Housekeeping-autostart.service, startup phases are not supported. systemd[7985]: Not generating service for XDG autostart app-org.gnome.SettingsDaemon.Smartcard-autostart.service, startup phases are not supported. systemd[7985]: Not generating service for XDG autostart app-orca\x2dautostart-autostart.service, only Type=Application is supported. systemd[7985]: Not generating service for XDG autostart app-org.gnome.SettingsDaemon.Sharing-autostart.service, startup phases are not supported. systemd[7985]: Not generating service for XDG autostart app-org.gnome.SettingsDaemon.UsbProtection-autostart.service, startup phases are not supported. systemd[7985]: gnome-systemd-autostart-condition not found: No such file or directory systemd[7985]: Not generating service for XDG autostart app-xdg\x2duser\x2ddirs-autostart.service, startup phases are not supported. systemd[7985]: Not generating service for XDG autostart app-org.gnome.SettingsDaemon.Power-autostart.service, startup phases are not supported. systemd[7985]: Not generating service for XDG autostart app-org.gnome.SettingsDaemon.Color-autostart.service, startup phases are not supported. systemd[7985]: Not generating service for XDG autostart app-org.gnome.SettingsDaemon.A11ySettings-autostart.service, startup phases are not supported. systemd[7985]: Not generating service for XDG autostart app-org.gnome.SettingsDaemon.Keyboard-autostart.service, startup phases are not supported. systemd[7985]: Not generating service for XDG autostart app-org.gnome.SettingsDaemon.MediaKeys-autostart.service, startup phases are not supported. systemd[7985]: Not generating service for XDG autostart app-gnome\x2dkeyring\x2dssh-autostart.service, startup phases are not supported. systemd[7985]: Not generating service for XDG autostart app-org.gnome.SettingsDaemon.Datetime-autostart.service, startup phases are not supported. systemd[7985]: Not generating service for XDG autostart app-gnome\x2dkeyring\x2dsecrets-autostart.service, startup phases are not supported. systemd[7985]: Not generating service for XDG autostart app-at\x2dspi\x2ddbus\x2dbus-autostart.service, startup phases are not supported. systemd[7985]: Not generating service for XDG autostart app-org.gnome.SettingsDaemon.Sound-autostart.service, startup phases are not supported. systemd[7985]: Not generating service for XDG autostart app-gnome\x2dkeyring\x2dpkcs11-autostart.service, startup phases are not supported. systemd[7985]: Not generating service for XDG autostart app-org.gnome.SettingsDaemon.Rfkill-autostart.service, startup phases are not supported. systemd[7985]: Not generating service for XDG autostart app-org.gnome.SettingsDaemon.PrintNotifications-autostart.service, startup phases are not supported. Does this indicate a problem, and if not, how can I stop these messages? Thanks in advance for any suggestions. -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici wb2una cov...@ccs.covici.com