Re: [CentOS] CentOS 5 file system read only issue

2019-08-21 Thread Peter
On 22/08/19 2:20 AM, Warren Young wrote: On Aug 21, 2019, at 7:35 AM, Xinhuan Zheng wrote: my $s = IO::Select->new( $fh ); if ( $io->can_write( 10 ) { That’s not designed to do what you hope. select(2) is a system call intended for use on network socket handles, not file handles. Since

Re: [CentOS] CentOS 5 file system read only issue

2019-08-21 Thread Warren Young
On Aug 21, 2019, at 7:35 AM, Xinhuan Zheng wrote: > > my $s = IO::Select->new( $fh ); > if ( $io->can_write( 10 ) { That’s not designed to do what you hope. select(2) is a system call intended for use on network socket handles, not file handles. Since socket handles and file handles are

Re: [CentOS] CentOS 5 file system read only issue

2019-08-21 Thread Gianluca Cecchi
On Wed, Aug 21, 2019 at 3:35 PM Xinhuan Zheng wrote: > Hello Everyone, > > We are using CentOS 5 system for certain application. Those are VM guests > running in VMware. There is datastore issue occasionally, causing all file > systems becoming read only file systems. > - Xinhuan Zheng >

[CentOS] CentOS 5 file system read only issue

2019-08-21 Thread Xinhuan Zheng
Hello Everyone, We are using CentOS 5 system for certain application. Those are VM guests running in VMware. There is datastore issue occasionally, causing all file systems becoming read only file systems. So application stop working, and opened files cannot be written either. We cannot even ssh