NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
MightyGorilla
Jan 25, 2013Aspirant
Re-autocreate Individual's Private Home Share
We have one user who was working with their private home share for a while without issue when it suddenly stopped allowing them to see it. Not happy to have no idea about what happened, but I thought...
kossboss
Jan 25, 2013Guide
Havent seen this before. Samba takes care of what is seen during sharing, there is nothing that would stop that. Install rootssh (becareful dont delete anything as it will void warranty) look into /c/home/ and see if the users home directory is there along with the data
1) install rootssh
2) run putty ssh protocol and connect to ip or hostname of nas
go to where data is (dont do any "rm" commands, that removes stuff)
# cd /c
run an ls command to see the files (can run any or all of these)
# ls -l
# ls
# ls -lisah
# ls -lah
# cd /c/home
or if your already in c
# cd home
run
# pwd
to see where you are
use ls commands to list again
# ls
# cd USERNAME
or
# cd /c/home/USERNAME
see if data is there
with
ls commands
# ls
make sure its not so big as to over fill the drive when we copy it out
# du --max-depth 1 -h
or
# du -sh
or
# du -s
or
# du --max-depth
notice with -h its all in kilobytes
if data is there and you need to copy it out to another share (lets make a new share called backup123)
copy all data from that user to backup123
# cp -Rv /c/home/USERNAME /c/backup123/
Wait for it to finish and voila the data is now backed up
if you dont see the data in USERNAME home share or if USERNAME home share doesnt exist then you need to look into data recovery options or look into your previous backups
1) install rootssh
2) run putty ssh protocol and connect to ip or hostname of nas
go to where data is (dont do any "rm" commands, that removes stuff)
# cd /c
run an ls command to see the files (can run any or all of these)
# ls -l
# ls
# ls -lisah
# ls -lah
# cd /c/home
or if your already in c
# cd home
run
# pwd
to see where you are
use ls commands to list again
# ls
# cd USERNAME
or
# cd /c/home/USERNAME
see if data is there
with
ls commands
# ls
make sure its not so big as to over fill the drive when we copy it out
# du --max-depth 1 -h
or
# du -sh
or
# du -s
or
# du --max-depth
notice with -h its all in kilobytes
if data is there and you need to copy it out to another share (lets make a new share called backup123)
copy all data from that user to backup123
# cp -Rv /c/home/USERNAME /c/backup123/
Wait for it to finish and voila the data is now backed up
if you dont see the data in USERNAME home share or if USERNAME home share doesnt exist then you need to look into data recovery options or look into your previous backups
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!