Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Gentoo folder shares disappeared after reboot
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
TheDenimDuke
n00b
n00b


Joined: 06 Jun 2016
Posts: 3
Location: Melbourne

PostPosted: Mon Jun 06, 2016 12:31 pm    Post subject: Gentoo folder shares disappeared after reboot Reply with quote

Hi all,

I've inherited a Gentoo server with Windows clients connected which is having chronic palpitations. It generated I/O errors on the file shares and kicked all the clients off. Unable to open anything, unable to save anything. After a reboot and fsck it started back up but the file shares are not active. I can SSH into the server and see the data, but cannot connect any Windows client via server name or ip. I'm a Linux n00b and I didn't set this server up so I'm not sure where I should be checking? Started with NFS and am getting a 'permission denied' as root when I try /etc/init.d/nfs start. Can anyone point me in the right direction?

Thanks.
Back to top
View user's profile Send private message
Buffoon
Veteran
Veteran


Joined: 17 Jun 2015
Posts: 1074
Location: EU or US

PostPosted: Mon Jun 06, 2016 12:36 pm    Post subject: Reply with quote

You should boot from CD/USB and run fsck on all volumes. I suspect the hard drive might be dying, so running smartctl tests is in order, too. NFS is unlikely used to serve Windows clients.
Back to top
View user's profile Send private message
TheDenimDuke
n00b
n00b


Joined: 06 Jun 2016
Posts: 3
Location: Melbourne

PostPosted: Mon Jun 06, 2016 12:41 pm    Post subject: Reply with quote

Thanks. Will do. The disks are dying, and this server is supposed to be decommissioned. I have most of the data off the server already, but there is some more to get. Any other ideas about what services I should be checking to get the shares operating again very temporarily?
Back to top
View user's profile Send private message
pilla
Administrator
Administrator


Joined: 07 Aug 2002
Posts: 7692
Location: Pelotas, BR

PostPosted: Mon Jun 06, 2016 3:11 pm    Post subject: Reply with quote

Can you just clone the disks to sane ones and then work with then? Making anything even temporary in dying hardware seems to be a lost cause.
_________________
"I'm just very selective about the reality I choose to accept." -- Calvin
Back to top
View user's profile Send private message
TheDenimDuke
n00b
n00b


Joined: 06 Jun 2016
Posts: 3
Location: Melbourne

PostPosted: Mon Jun 06, 2016 11:23 pm    Post subject: Reply with quote

Thanks Pilla. When I say temporary, I have about 400GB of archival data left to retrieve from the server. It's operational and everything seems to be working, but the folder shares aren't active for the Windows clients to connect. If I can get the shares back online for half an hour that will do it, vs finding additional disks to clone onto. I don't need to worry about the server after that. Are there any things I can review to get the shares operational? Thanks again.
Back to top
View user's profile Send private message
pilla
Administrator
Administrator


Joined: 07 Aug 2002
Posts: 7692
Location: Pelotas, BR

PostPosted: Mon Jun 06, 2016 11:32 pm    Post subject: Reply with quote

TheDenimDuke, how about booting from a Live CD/DVD/USB, mounting the drive and then configuring it to be accessible from your Live setup? Having root in a sane Live will be one thing less to worry about. There are some Live USB images that you can even install new packages and change configurations on the go and keep them throughout reboots.
_________________
"I'm just very selective about the reality I choose to accept." -- Calvin
Back to top
View user's profile Send private message
Syl20
Guru
Guru


Joined: 04 Aug 2005
Posts: 547
Location: France

PostPosted: Tue Jun 07, 2016 12:43 pm    Post subject: Reply with quote

The more the disks work, the more they will die quickly. Booting from a live CD/USB is a safe choice.
If you want to recover your data, stop immediately working on the server, plug an additional disk (internal or external, no matter) with sufficiently free space it, boot on a live CD/USB, and copy your data from the dying disks to the empty one. You can use several commands like 'cp' or 'rsync' (a better choice, easier to use).

Once your data copied at least one time (the minimum should be two, even three, if these data are important), then you can do all you want with the server.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum