Missing Home Directory Folders

Here you'll find a place for solutions and hints.

Please use one of the support subforums below for questions or if you have any issues and need support.

Missing Home Directory Folders

Postby kgbridge » Jul 27th, '14, 20:29

Hi,

I have just installed Mageia 4, moving from Suse. When I normally move from a different distro I rename the home folder which is on a seperate partition, so I can later transfer pictures, videos etc. Now my problem is; even as root, I can't see the old login folders. If I go into the control centre, then manage disks partitions and then view the /home partition, the old folders are there with a link of "/root/.inspect_tmp_dir".

Could someone explain why I can't see my old data?
kgbridge
 
Posts: 3
Joined: Jul 27th, '14, 20:06

Re: Missing Home Directory Folders

Postby doktor5000 » Jul 27th, '14, 20:52

Can you please post the output of the following commands as root

Code: Select all
mount
lsblk -fl
ls -al /home
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17659
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Missing Home Directory Folders

Postby kgbridge » Jul 27th, '14, 21:47

Thanks for your help

Here is the output you asked for:

Code: Select all
[root@localhost keith]#     mount
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
devtmpfs on /dev type devtmpfs (rw,nosuid,size=3001300k,nr_inodes=750325,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
tmpfs on /run type tmpfs (rw,nosuid,nodev,mode=755)
/dev/sda6 on / type ext4 (rw,noatime,data=ordered)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /sys/fs/cgroup type tmpfs (rw,nosuid,nodev,noexec,mode=755)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/usr/lib/systemd/systemd-cgroups-agent,name=systemd)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpuacct,cpu)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/net_cls type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=27,pgrp=1,timeout=300,minproto=5,maxproto=5,direct)
mqueue on /dev/mqueue type mqueue (rw,relatime)
tmpfs on /tmp type tmpfs (rw)
debugfs on /sys/kernel/debug type debugfs (rw,relatime,mode=755)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
/dev/sda8 on /media/data type vfat (rw,relatime,fmask=0000,dmask=0000,allow_utime=0022,codepage=437,iocharset=utf8,shortname=mixed,errors=remount-ro)
/dev/sda1 on /media/win7 type fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096)

Code: Select all
[root@localhost keith]#     lsblk -fl
NAME FSTYPE LABEL UUID                                 MOUNTPOINT
sda                                                   
sda1 ntfs         FC8055058054C832                     /media/win7
sda2                                                   
sda5 ext4   Home  e0e71e2f-8948-4548-ba9f-136afd5d2ed0
sda6 ext4         6b4d763e-8076-48c0-9c02-0284dcdc6ab0 /
sda7 swap         9da7485e-2d67-4540-95e3-eb22f7ab7082 [SWAP]
sda8 vfat   DATA  1A3E-AE2D                            /media/data
sr0

Code: Select all
[root@localhost keith]#     ls -al /home
total 12
drwxr-xr-x  3 root  root  4096 Jul 27 16:58 ./
drwxr-xr-x 20 root  root  4096 Jul 27 18:24 ../
drwxr-xr-x 23 keith keith 4096 Jul 27 20:43 keith/
[root@localhost keith]#


Cheers

Keith
Last edited by doktor5000 on Jul 27th, '14, 22:11, edited 2 times in total.
Reason: added code tags
kgbridge
 
Posts: 3
Joined: Jul 27th, '14, 20:06

Re: Missing Home Directory Folders

Postby doktor5000 » Jul 27th, '14, 22:17

Please next time use code tags as explained in ftp://ftp5.gwdg.de/pub/linux/mandriva/m ... e_tags.ogv

kgbridge wrote:[root@localhost keith]# lsblk -fl
NAME FSTYPE LABEL UUID MOUNTPOINT
sda5 ext4 Home e0e71e2f-8948-4548-ba9f-136afd5d2ed0


Could that be your old /home partition? It's not mounted anywhere. You need to set a mountpoint for it.
Have a look at http://doc.mageia.org/mcc/4/en/content/drakdisk.html or just add it to fstab.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17659
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Missing Home Directory Folders

Postby kgbridge » Jul 27th, '14, 22:48

Cheers for that. I must have done something wrong during instalation.

Thanks again for your time.

Keith
kgbridge
 
Posts: 3
Joined: Jul 27th, '14, 20:06

Re: Missing Home Directory Folders

Postby doktor5000 » Jul 28th, '14, 17:01

So the issue is fixed now?

Please mark the thread accordingly by editing the topic of the first post and prefix it by [SOLVED], thanks
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17659
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany


Return to The magician suggests...

Who is online

Users browsing this forum: No registered users and 1 guest