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
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
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
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
/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
devpts on /dev/pts type devpts
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev,relatime,seclabel)
/dev/mapper/vg_adamfedorantbk-lv_root on / type ext4
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
cgroup on /sys/fs/cgroup/systemd type cgroup
cgroup on /sys/fs/cgroup/cpuset type cgroup
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup
cgroup on /sys/fs/cgroup/memory type cgroup
cgroup on /sys/fs/cgroup/devices type cgroup
cgroup on /sys/fs/cgroup/freezer type cgroup
cgroup on /sys/fs/cgroup/net_cls type cgroup
cgroup on /sys/fs/cgroup/blkio type cgroup
cgroup on /sys/fs/cgroup/perf_event type cgroup
systemd-1 on /proc/sys/fs/binfmt_misc type autofs
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
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
/dev/sda2 on /media/C-Drive type fuseblk
/dev/sda3 on /boot type ext4
/dev/mapper/vg_adamfedorantbk-lv_home on /home type ext4
gvfs-fuse-daemon on /home/adam/.gvfs type fuse.gvfs-fuse-daemon

> 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?


Adam+Zion, MCSE+I, Registered Linux User #471910
Philadelphia Linux Users Group         --
Announcements -
General Discussion  --