Thread: Ubuntu Server - Folders missing
good morning, got job network admin. have old storage/web servers. keep crashing , results data loss on monthly basis. company cannot afford purchase thousands of dollars of microsoft licenses. proposed ubuntu storage server. cost, did not idea if left next possibly wouldn't know how maintain it. server runs samba , openssh. installed webmin , wrote maintenance tutorial need maintain in future.
have 2 2tb hard drives. 1 mounted on /data , other on /backup.
cron job:
30 0 * * * sudo rsync -av /data /backup
when got work in morning saw rsync had ran successfully. powered server down , set server closet. powered on , opened ssh workstation.
get:
df command:code:administrator@storage:/data$ ls lost+found administrator@storage:/data$ cd /backup administrator@storage:/backup$ ls lost+found administrator@storage:/backup$
blkid command:code:administrator@storage:/$ df filesystem 1k-blocks used available use% mounted on /dev/sda1 476982272 1427096 451325800 1% / udev 1824504 12 1824492 1% /dev tmpfs 733320 1356 731964 1% /run none 5120 0 5120 0% /run/lock none 1833300 0 1833300 0% /run/shm /dev/sdb1 1922859824 11650376 1813533776 1% /data /dev/sdc1 1922859824 200028 1824984124 1% /backup
fstab:code:administrator@storage:/$ sudo blkid /dev/sda1: uuid="4d46e2fc-bbd3-40c0-afcc-ad570a1d4447" type="ext4" /dev/sda5: uuid="a0ed4cc6-26eb-46c2-bd78-5ffbcb19bcfb" type="swap" /dev/sdb1: uuid="476dbe8f-9dfa-418c-9f97-604f2ccd2453" type="ext4" /dev/sdc1: label="backup" uuid="ef8c5944-b8c7-49c3-9188-d175101bec98" type="ext4"
i cant seem find out why happened.code:# /etc/fstab: static file system information. # # use 'blkid' print universally unique identifier # device; may used uuid= more robust way name devices # works if disks added , removed. see fstab(5). # # <file system> <mount point> <type> <options> <dump> <pass> proc /proc proc nodev,noexec,nosuid 0 0 # / on /dev/sda1 during installation uuid=4d46e2fc-bbd3-40c0-afcc-ad570a1d4447 / ext4 errors=remount-ro 0 1 # swap on /dev/sda5 during installation uuid=a0ed4cc6-26eb-46c2-bd78-5ffbcb19bcfb none swap sw 0 0 uuid=476dbe8f-9dfa-418c-9f97-604f2ccd2453 /data ext4 defaults 0 0 uuid=ef8c5944-b8c7-49c3-9188-d175101bec98 /backup ext4 defaults 0 0
post rsync command please
Forum The Ubuntu Forum Community Ubuntu Specialised Support Ubuntu Servers, Cloud and Juju Server Platforms [ubuntu] Ubuntu Server - Folders missing
Ubuntu
, did not idea if left next possibly wouldn't know how maintain it. server runs samba , openssh. installed webmin , wrote maintenance tutorial need maintain in future.
Comments
Post a Comment