Adam Zion on 8 Dec 2011 12:30:39 -0800


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] Lost gigabytes?


> I don't see anything odd about it.  MBR-style hard drives only have
> four primary partitions, so gparted set up an extended partition in
> the 4th physical partition to allow for more flexibility if you
> repartition in the future.  This is a pretty typical setup, and both
> windows and linux support it fine (going WAY back in time).

The question, though, is what happened to the additional GBs?

> fdisk -l /dev/sda (or whatever device your hard drive is on)

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *        2048      206847      102400    7  HPFS/NTFS/exFAT
/dev/sda2          206848   341008383   170400768    7  HPFS/NTFS/exFAT
/dev/sda3       341008384   342032383      512000   83  Linux
/dev/sda4       342032384   625142447   141555032    5  Extended
/dev/sda5       342034432   625141759   141553664   8e  Linux LVM

> cat /proc/mounts

rootfs / rootfs rw 0 0
proc /proc proc rw,nosuid,nodev,noexec,relatime 0 0
sysfs /sys sysfs rw,seclabel,nosuid,nodev,noexec,relatime 0 0
devtmpfs /dev devtmpfs
rw,seclabel,nosuid,relatime,size=1939824k,nr_inodes=204316,mode=755 0
0
devpts /dev/pts devpts
rw,seclabel,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000 0 0
tmpfs /dev/shm tmpfs rw,seclabel,nosuid,nodev,relatime 0 0
tmpfs /run tmpfs rw,seclabel,nosuid,nodev,relatime,mode=755 0 0
/dev/mapper/vg_adamfedorantbk-lv_root / ext4
rw,seclabel,relatime,user_xattr,barrier=1,data=ordered 0 0
tmpfs /run tmpfs rw,seclabel,nosuid,nodev,relatime,mode=755 0 0
selinuxfs /sys/fs/selinux selinuxfs rw,relatime 0 0
tmpfs /sys/fs/cgroup tmpfs rw,seclabel,nosuid,nodev,noexec,relatime,mode=755 0 0
cgroup /sys/fs/cgroup/systemd cgroup
rw,nosuid,nodev,noexec,relatime,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd
0 0
cgroup /sys/fs/cgroup/cpuset cgroup rw,nosuid,nodev,noexec,relatime,cpuset 0 0
cgroup /sys/fs/cgroup/cpu,cpuacct cgroup
rw,nosuid,nodev,noexec,relatime,cpuacct,cpu 0 0
cgroup /sys/fs/cgroup/memory cgroup rw,nosuid,nodev,noexec,relatime,memory 0 0
cgroup /sys/fs/cgroup/devices cgroup rw,nosuid,nodev,noexec,relatime,devices 0 0
cgroup /sys/fs/cgroup/freezer cgroup rw,nosuid,nodev,noexec,relatime,freezer 0 0
cgroup /sys/fs/cgroup/net_cls cgroup rw,nosuid,nodev,noexec,relatime,net_cls 0 0
cgroup /sys/fs/cgroup/blkio cgroup rw,nosuid,nodev,noexec,relatime,blkio 0 0
cgroup /sys/fs/cgroup/perf_event cgroup
rw,nosuid,nodev,noexec,relatime,perf_event 0 0
systemd-1 /proc/sys/fs/binfmt_misc autofs
rw,relatime,fd=23,pgrp=1,timeout=300,minproto=5,maxproto=5,direct 0 0
securityfs /sys/kernel/security securityfs rw,relatime 0 0
mqueue /dev/mqueue mqueue rw,seclabel,relatime 0 0
debugfs /sys/kernel/debug debugfs rw,relatime 0 0
hugetlbfs /dev/hugepages hugetlbfs rw,seclabel,relatime 0 0
tmpfs /media tmpfs
rw,rootcontext=system_u:object_r:mnt_t:s0,seclabel,nosuid,nodev,noexec,relatime,mode=755
0 0
fusectl /sys/fs/fuse/connections fusectl rw,relatime 0 0
/dev/sda2 /media/C-Drive fuseblk
rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096 0 0
/dev/sda3 /boot ext4
rw,seclabel,relatime,user_xattr,acl,barrier=1,stripe=4,data=ordered 0
0
/dev/mapper/vg_adamfedorantbk-lv_home /home ext4
rw,seclabel,relatime,user_xattr,acl,barrier=1,data=ordered 0 0
gvfs-fuse-daemon /home/adam/.gvfs fuse.gvfs-fuse-daemon
rw,nosuid,nodev,relatime,user_id=1000,group_id=1000 0 0

> mount

proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime,seclabel)
devtmpfs on /dev type devtmpfs
(rw,nosuid,relatime,seclabel,size=1939824k,nr_inodes=204316,mode=755)
devpts on /dev/pts type devpts
(rw,nosuid,noexec,relatime,seclabel,gid=5,mode=620,ptmxmode=000)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev,relatime,seclabel)
/dev/mapper/vg_adamfedorantbk-lv_root on / type ext4
(rw,relatime,seclabel,user_xattr,barrier=1,data=ordered)
tmpfs on /run type tmpfs (rw,nosuid,nodev,relatime,seclabel,mode=755)
selinuxfs on /sys/fs/selinux type selinuxfs (rw,relatime)
tmpfs on /sys/fs/cgroup type tmpfs
(rw,nosuid,nodev,noexec,relatime,seclabel,mode=755)
cgroup on /sys/fs/cgroup/systemd type cgroup
(rw,nosuid,nodev,noexec,relatime,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd)
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/memory type cgroup
(rw,nosuid,nodev,noexec,relatime,memory)
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)
cgroup on /sys/fs/cgroup/perf_event type cgroup
(rw,nosuid,nodev,noexec,relatime,perf_event)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs
(rw,relatime,fd=23,pgrp=1,timeout=300,minproto=5,maxproto=5,direct)
securityfs on /sys/kernel/security type securityfs (rw,relatime)
mqueue on /dev/mqueue type mqueue (rw,relatime,seclabel)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime,seclabel)
tmpfs on /media type tmpfs
(rw,nosuid,nodev,noexec,relatime,rootcontext=system_u:object_r:mnt_t:s0,seclabel,mode=755)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
/dev/sda2 on /media/C-Drive type fuseblk
(rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096)
/dev/sda3 on /boot type ext4
(rw,relatime,seclabel,user_xattr,acl,barrier=1,stripe=4,data=ordered)
/dev/mapper/vg_adamfedorantbk-lv_home on /home type ext4
(rw,relatime,seclabel,user_xattr,acl,barrier=1,data=ordered)
gvfs-fuse-daemon on /home/adam/.gvfs type fuse.gvfs-fuse-daemon
(rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)

> cat /etc/fstab

/dev/mapper/vg_adamfedorantbk-lv_root /                       ext4
defaults        1 1
UUID=4cce4a2a-62a0-444a-911b-d1a5629ed996 /boot                   ext4
   defaults        1 2
/dev/mapper/vg_adamfedorantbk-lv_home /home                   ext4
defaults        1 2
/dev/mapper/vg_adamfedorantbk-lv_swap swap                    swap
defaults        0 0
/dev/sda2        /media/C-Drive          ntfs-3g  defaults     0 0

> df -h

Filesystem                             Size  Used Avail Use% Mounted on
rootfs                                  50G  4.2G   45G   9% /
devtmpfs                               1.9G     0  1.9G   0% /dev
tmpfs                                  1.9G  156K  1.9G   1% /dev/shm
tmpfs                                  1.9G   40M  1.9G   3% /run
/dev/mapper/vg_adamfedorantbk-lv_root   50G  4.2G   45G   9% /
tmpfs                                  1.9G   40M  1.9G   3% /run
tmpfs                                  1.9G     0  1.9G   0% /sys/fs/cgroup
tmpfs                                  1.9G     0  1.9G   0% /media
/dev/sda2                              163G   30G  133G  19% /media/C-Drive
/dev/sda3                              485M   77M  383M  17% /boot
/dev/mapper/vg_adamfedorantbk-lv_home   79G  910M   75G   2% /home

> Does Fedora use Grub2?  If so there should be no problem.

It's GRUB2.

OK, I looked @ these files, and now I see where the files are. / is
the mount point for /dev/mapper/vg_adamfedorantbk-lv_root, and /home
is the mount point for /dev/mapper/vg_adamfedorantbk-lv_home . Is
there any problem w/this configuration? It's rather different from
what I'd expected, but it does seem to work.

Leave as-is?

-Z

-- 
Adam+Zion, MCSE+I, Registered Linux User #471910
___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug