Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] Help with fsck and ocfs2 (or even ext4?)...
- Date: Mon, 20 Sep 2021 00:12:21 +0200
- From: Christian Horn <chorn@example.com>
- Subject: Re: [tlug] Help with fsck and ocfs2 (or even ext4?)...
- References: <CAAhy3dsGd-05-PZsO1_rOzLmmkFJJwwnKZt5Bc96+kNrG4hhxA@mail.gmail.com> <YUbpc+W897zMrOgz@fluxcoil.net> <611fd353-cde3-0ae7-0dbf-e1b54dc60174@gmail.com>
Hoi, On Mon, Sep 20, 2021 at 01:21:17AM +0800, Raymond Wan wrote: > [..] > Actually, the vendor of the SAN performed the initial installation (I won't > say who the vendor was, but let's say their name rhymes with "Dell" :-P ). > And they used ext4. Since they're the experts, I didn't question it. Within > minutes of using it on our cluster, files started mysteriously disappearing. > It was quite frustrating. ext4 is fine - as long as you ensure that at any time just one of the systems who can "see" that blockdevice is actually mounting the device. Mounting and writing to the blockdevice from multiple systems is asking for havoc, each system "thinks" it has exclusive access. > I asked on ServerFault and a couple of people clarified to me that ext4 > wouldn't work. I still don't understand it...I thought a SAN could look > after the disk the same way a server looks after an ext4 disk that is NFS > exported... SAN means here that just blockdevices are handed out, if multiple systems need access, they need to coordinate, that is done with ocfs2 or gfs2. With NFS, again just one system is accessing the blockdevice, and is then doing locks/coordinating as part of NFS. If you want to "replicate" that havoc of ext4 from multiple simultaneous systems, or gfs2/ocfs, I recommend this: - a linux system acting as hypervisor - multiple KVM guests - the hypervisor sharing one or multiple iSCSI devices - the guests accessing these - they are the shared block devices. NFS would be easier to operate, but when the one NFS server is not clus- tered and goes down, the whole storage is unavailable. Chris
- Follow-Ups:
- Re: [tlug] Help with fsck and ocfs2 (or even ext4?)...
- From: Christian Horn
- Re: [tlug] Help with fsck and ocfs2 (or even ext4?)...
- From: Raymond Wan
- References:
- [tlug] Help with fsck and ocfs2 (or even ext4?)...
- From: Raymond Wan
- Re: [tlug] Help with fsck and ocfs2 (or even ext4?)...
- From: Christian Horn
- Re: [tlug] Help with fsck and ocfs2 (or even ext4?)...
- From: Raymond Wan
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] Help with fsck and ocfs2 (or even ext4?)...
- Next by Date: Re: [tlug] Help with fsck and ocfs2 (or even ext4?)...
- Previous by thread: Re: [tlug] Help with fsck and ocfs2 (or even ext4?)...
- Next by thread: Re: [tlug] Help with fsck and ocfs2 (or even ext4?)...
- Index(es):