LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-31-2010, 01:18 PM   #1
chetjordan2002
LQ Newbie
 
Registered: Jul 2006
Location: Dunbar, WV
Distribution: Mint 9
Posts: 23

Rep: Reputation: 15
What's going on with my hard drive?


Hello again, I am posting here because I couldn't figure out what section it actually belonged in. Anyway, I have a 320GB hard drive in my HP TX2-1020US and would like to use a partition manager to allocate more space to my Linux partition. I tried using one on my Win 7 partition but couldn't figure out which one was my Linux. So, I got the idea to load up Linux and find out what the total space was for Filesystem. The properties told me I am using 120 TB on a 320 GB drive. How is this possible? And what do I need to look for in order to even know how much space is actually available? The properties show 7.8 GB free space but I don't know if I can trust that. Thank you in advanced for any help anyone may provide.
 
Old 05-31-2010, 01:32 PM   #2
harry edwards
Member
 
Registered: Nov 2007
Location: Lincolnshire, UK
Distribution: CentOS, Fedora, and Suse
Posts: 365

Rep: Reputation: 48
PartMagic provides a bootable CD (Live-CD) designed to help manipulate partitions. I'd recommend using this.
 
Old 05-31-2010, 01:52 PM   #3
chetjordan2002
LQ Newbie
 
Registered: Jul 2006
Location: Dunbar, WV
Distribution: Mint 9
Posts: 23

Original Poster
Rep: Reputation: 15
Well I have Partition Wizard on my Win 7 partition but I can't see the Linux file system, that I'm aware of anyway. So do I need to have a bootable cd in order to see the linux partition?
 
Old 05-31-2010, 02:18 PM   #4
jamescondron
Member
 
Registered: Jul 2007
Location: Scunthorpe, UK
Distribution: Ubuntu 8.10; Gentoo; Debian Lenny
Posts: 961

Rep: Reputation: 69
On windows to actually mount and interact with the Linux partition (Which I believe is what you want, forgive me if it isn't) you'll need to look at the Unix Tools for Windows package provided by Microsoft. This may help: http://www.howtoforge.com/access-lin...s-from-windows
 
Old 05-31-2010, 05:29 PM   #5
chetjordan2002
LQ Newbie
 
Registered: Jul 2006
Location: Dunbar, WV
Distribution: Mint 9
Posts: 23

Original Poster
Rep: Reputation: 15
Hmmm...not quite. What I'm wanting to do is take space from my windows partition and give it to my linux partition
 
Old 05-31-2010, 06:36 PM   #6
jamescondron
Member
 
Registered: Jul 2007
Location: Scunthorpe, UK
Distribution: Ubuntu 8.10; Gentoo; Debian Lenny
Posts: 961

Rep: Reputation: 69
Yes, but you need Windows to be able to see and read the partition first
 
Old 05-31-2010, 07:37 PM   #7
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,240

Rep: Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324
Quote:
What I'm wanting to do is take space from my windows partition and give it to my linux partition
In that case, it's a multi-step process

0. BACKUP all important docs etc just in case. You shouldn't need to do this, but its advisable just in case.

1. defrag MS (use MS menu tool); this will tidy up and move most stuff to the 'front' of the MS partition

2. I believe MS has a partition tool, use this to shrink the MS partition.

3a. To see ALL the disk you'll need something like gparted or maybe just use the 'linux rescue' mode on an install media for Linux. The cmd then is 'fdisk'.

3b. In fact, most modern Linux installs will ask during the install if you want to specify partitions or take the default.
Take the 'ask' (manual layout) route and it'll show you the whole disk. You can then specify what you layout you want and where to put stuff.
 
Old 06-01-2010, 02:30 PM   #8
harry edwards
Member
 
Registered: Nov 2007
Location: Lincolnshire, UK
Distribution: CentOS, Fedora, and Suse
Posts: 365

Rep: Reputation: 48
This type of task is pretty easy in PartMagic, honest.
 
Old 06-05-2010, 09:39 AM   #9
chetjordan2002
LQ Newbie
 
Registered: Jul 2006
Location: Dunbar, WV
Distribution: Mint 9
Posts: 23

Original Poster
Rep: Reputation: 15
I think we've missed the main point of my post here. The issue isn't so much the partitioning. The issue is Linux is telling me I'm using 120 TB in my filesystem leaving me with no way to know what is actually allocated from the drive and no way to know how much of that space I'm actually using.
 
Old 06-05-2010, 10:28 AM   #10
harry edwards
Member
 
Registered: Nov 2007
Location: Lincolnshire, UK
Distribution: CentOS, Fedora, and Suse
Posts: 365

Rep: Reputation: 48
What in Linux is telling you this? Do you have output from the command, or, are you using one of the many Linux GUIs that can tell you the disk properties.

Can you post the output to
Code:
fdisk -l
df -h
lshw (if installed)
And, any other commands of relevance.
 
Old 06-05-2010, 10:21 PM   #11
chetjordan2002
LQ Newbie
 
Registered: Jul 2006
Location: Dunbar, WV
Distribution: Mint 9
Posts: 23

Original Poster
Rep: Reputation: 15
Code:
Warning: Unable to open /dev/sr0 read-write (Read-only file system).  /dev/sr0 has been opened read-only.
Error: /dev/sr0: unrecognised disk labe
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda6              12G  4.8G  6.4G  43% /
none                  1.9G  364K  1.9G   1% /dev
none                  1.9G  256K  1.9G   1% /dev/shm
none                  1.9G  332K  1.9G   1% /var/run
none                  1.9G     0  1.9G   0% /var/lock
none                  1.9G     0  1.9G   0% /lib/init/rw
WARNING: you should run this program as super-user.
chet-laptop               
    description: Computer
    width: 64 bits
    capabilities: vsyscall64 vsyscall32
  *-core
       description: Motherboard
       physical id: 0
     *-memory
          description: System memory
          physical id: 0
          size: 3708MiB
     *-cpu
          product: AMD Turion(tm) X2 Ultra Dual-Core Mobile ZM-82
          vendor: Advanced Micro Devices [AMD]
          physical id: 1
          bus info: cpu@0
          size: 550MHz
          capacity: 550MHz
          width: 64 bits
          capabilities: fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt rdtscp x86-64 3dnowext 3dnow constant_tsc rep_good nonstop_tsc extd_apicid pni cx16 lahf_lm cmp_legacy svm extapic cr8_legacy 3dnowprefetch osvw skinit cpufreq
     *-pci:0
          description: Host bridge
          product: RS780 Host Bridge
          vendor: Advanced Micro Devices [AMD]
          physical id: 100
          bus info: pci@0000:00:00.0
          version: 00
          width: 32 bits
          clock: 66MHz
        *-pci:0
             description: PCI bridge
             product: RS780 PCI to PCI bridge (int gfx)
             vendor: Advanced Micro Devices [AMD]
             physical id: 1
             bus info: pci@0000:00:01.0
             version: 00
             width: 32 bits
             clock: 66MHz
             capabilities: pci bus_master cap_list
             resources: ioport:5000(size=4096) memory:d2200000-d23fffff ioport:c0000000(size=268435456)
           *-display
                description: VGA compatible controller
                product: RS780M/RS780MN [Radeon HD 3200 Graphics]
                vendor: ATI Technologies Inc
                physical id: 5
                bus info: pci@0000:01:05.0
                version: 00
                width: 32 bits
                clock: 33MHz
                capabilities: bus_master cap_list rom
                configuration: driver=radeon latency=0
                resources: irq:18 memory:c0000000-cfffffff(prefetchable) ioport:5000(size=256) memory:d2300000-d230ffff memory:d2200000-d22fffff
        *-pci:1
             description: PCI bridge
             product: RS780 PCI to PCI bridge (PCIE port 0)
             vendor: Advanced Micro Devices [AMD]
             physical id: 4
             bus info: pci@0000:00:04.0
             version: 00
             width: 32 bits
             clock: 33MHz
             capabilities: pci bus_master cap_list
             configuration: driver=pcieport
             resources: irq:25 ioport:3000(size=8192) memory:d1200000-d21fffff ioport:d0000000(size=16777216)
        *-pci:2
             description: PCI bridge
             product: RS780 PCI to PCI bridge (PCIE port 1)
             vendor: Advanced Micro Devices [AMD]
             physical id: 5
             bus info: pci@0000:00:05.0
             version: 00
             width: 32 bits
             clock: 33MHz
             capabilities: pci bus_master cap_list
             configuration: driver=pcieport
             resources: irq:26 memory:d1100000-d11fffff
           *-network
                description: Wireless interface
                product: BCM4322 802.11a/b/g/n Wireless LAN Controller
                vendor: Broadcom Corporation
                physical id: 0
                bus info: pci@0000:08:00.0
                logical name: eth1
                version: 01
                serial: 00:21:00:b4:f4:d3
                width: 64 bits
                clock: 33MHz
                capabilities: bus_master cap_list ethernet physical wireless
                configuration: broadcast=yes driver=wl0 driverversion=5.60.48.36 ip=192.168.0.125 latency=0 multicast=yes wireless=IEEE 802.11
                resources: irq:17 memory:d1100000-d1103fff
        *-pci:3
             description: PCI bridge
             product: RS780 PCI to PCI bridge (PCIE port 2)
             vendor: Advanced Micro Devices [AMD]
             physical id: 6
             bus info: pci@0000:00:06.0
             version: 00
             width: 32 bits
             clock: 33MHz
             capabilities: pci bus_master cap_list
             configuration: driver=pcieport
             resources: irq:27 ioport:2000(size=4096) memory:b0000000-b00fffff ioport:d1000000(size=1048576)
           *-network
                description: Ethernet interface
                product: RTL8111/8168B PCI Express Gigabit Ethernet controller
                vendor: Realtek Semiconductor Co., Ltd.
                physical id: 0
                bus info: pci@0000:09:00.0
                logical name: eth0
                version: 02
                serial: 00:23:8b:78:28:28
                width: 64 bits
                clock: 33MHz
                capabilities: bus_master cap_list rom ethernet physical
                configuration: broadcast=yes driver=r8169 driverversion=2.3LK-NAPI latency=0 multicast=yes
                resources: irq:28 ioport:2000(size=256) memory:d1010000-d1010fff(prefetchable) memory:d1000000-d100ffff(prefetchable) memory:d1020000-d102ffff(prefetchable)
        *-storage
             description: SATA controller
             product: SB700/SB800 SATA Controller [AHCI mode]
             vendor: ATI Technologies Inc
             physical id: 11
             bus info: pci@0000:00:11.0
             version: 00
             width: 32 bits
             clock: 66MHz
             capabilities: storage bus_master cap_list
             configuration: driver=ahci latency=64
             resources: irq:22 ioport:6038(size=8) ioport:604c(size=4) ioport:6030(size=8) ioport:6048(size=4) ioport:6010(size=16) memory:d2409000-d24093ff
        *-usb:0
             description: USB Controller
             product: SB700/SB800 USB OHCI0 Controller
             vendor: ATI Technologies Inc
             physical id: 12
             bus info: pci@0000:00:12.0
             version: 00
             width: 32 bits
             clock: 66MHz
             capabilities: bus_master
             configuration: driver=ohci_hcd latency=64
             resources: irq:16 memory:d2408000-d2408fff
        *-usb:1
             description: USB Controller
             product: SB700 USB OHCI1 Controller
             vendor: ATI Technologies Inc
             physical id: 12.1
             bus info: pci@0000:00:12.1
             version: 00
             width: 32 bits
             clock: 66MHz
             capabilities: bus_master
             configuration: driver=ohci_hcd latency=64
             resources: irq:16 memory:d2407000-d2407fff
        *-usb:2
             description: USB Controller
             product: SB700/SB800 USB EHCI Controller
             vendor: ATI Technologies Inc
             physical id: 12.2
             bus info: pci@0000:00:12.2
             version: 00
             width: 32 bits
             clock: 66MHz
             capabilities: bus_master cap_list
             configuration: driver=ehci_hcd latency=64
             resources: irq:17 memory:d2409500-d24095ff
        *-usb:3
             description: USB Controller
             product: SB700/SB800 USB OHCI0 Controller
             vendor: ATI Technologies Inc
             physical id: 13
             bus info: pci@0000:00:13.0
             version: 00
             width: 32 bits
             clock: 66MHz
             capabilities: bus_master
             configuration: driver=ohci_hcd latency=64
             resources: irq:18 memory:d2406000-d2406fff
        *-usb:4
             description: USB Controller
             product: SB700 USB OHCI1 Controller
             vendor: ATI Technologies Inc
             physical id: 13.1
             bus info: pci@0000:00:13.1
             version: 00
             width: 32 bits
             clock: 66MHz
             capabilities: bus_master
             configuration: driver=ohci_hcd latency=64
             resources: irq:18 memory:d2405000-d2405fff
        *-usb:5
             description: USB Controller
             product: SB700/SB800 USB EHCI Controller
             vendor: ATI Technologies Inc
             physical id: 13.2
             bus info: pci@0000:00:13.2
             version: 00
             width: 32 bits
             clock: 66MHz
             capabilities: bus_master cap_list
             configuration: driver=ehci_hcd latency=64
             resources: irq:19 memory:d2409400-d24094ff
        *-serial
             description: SMBus
             product: SBx00 SMBus Controller
             vendor: ATI Technologies Inc
             physical id: 14
             bus info: pci@0000:00:14.0
             version: 3a
             width: 32 bits
             clock: 66MHz
             capabilities: cap_list
             configuration: driver=piix4_smbus latency=0
             resources: irq:0
        *-ide
             description: IDE interface
             product: SB700/SB800 IDE Controller
             vendor: ATI Technologies Inc
             physical id: 14.1
             bus info: pci@0000:00:14.1
             version: 00
             width: 32 bits
             clock: 66MHz
             capabilities: ide bus_master cap_list
             configuration: driver=pata_atiixp latency=64
             resources: irq:16 ioport:1f0(size=8) ioport:3f6 ioport:170(size=8) ioport:376 ioport:6000(size=16)
        *-multimedia
             description: Audio device
             product: SBx00 Azalia (Intel HDA)
             vendor: ATI Technologies Inc
             physical id: 14.2
             bus info: pci@0000:00:14.2
             version: 00
             width: 64 bits
             clock: 33MHz
             capabilities: bus_master cap_list
             configuration: driver=HDA Intel latency=64
             resources: irq:16 memory:d2400000-d2403fff
        *-isa
             description: ISA bridge
             product: SB700/SB800 LPC host controller
             vendor: ATI Technologies Inc
             physical id: 14.3
             bus info: pci@0000:00:14.3
             version: 00
             width: 32 bits
             clock: 66MHz
             capabilities: isa bus_master
             configuration: latency=0
        *-pci:4
             description: PCI bridge
             product: SBx00 PCI to PCI Bridge
             vendor: ATI Technologies Inc
             physical id: 14.4
             bus info: pci@0000:00:14.4
             version: 00
             width: 32 bits
             clock: 66MHz
             capabilities: pci bus_master
             resources: ioport:1000(size=4096)
        *-usb:6
             description: USB Controller
             product: SB700/SB800 USB OHCI2 Controller
             vendor: ATI Technologies Inc
             physical id: 14.5
             bus info: pci@0000:00:14.5
             version: 00
             width: 32 bits
             clock: 66MHz
             capabilities: bus_master
             configuration: driver=ohci_hcd latency=64
             resources: irq:18 memory:d2404000-d2404fff
     *-pci:1
          description: Host bridge
          product: Mobile K10 [Turion X2, Athlon X2, Sempron] HyperTransport Configuration
          vendor: Advanced Micro Devices [AMD]
          physical id: 101
          bus info: pci@0000:00:18.0
          version: 40
          width: 32 bits
          clock: 33MHz
     *-pci:2
          description: Host bridge
          product: Family 11h [Turion X2, Athlon X2, Sempron] Address Map
          vendor: Advanced Micro Devices [AMD]
          physical id: 102
          bus info: pci@0000:00:18.1
          version: 00
          width: 32 bits
          clock: 33MHz
     *-pci:3
          description: Host bridge
          product: Mobile K10 [Turion X2, Athlon X2, Sempron] DRAM Controller
          vendor: Advanced Micro Devices [AMD]
          physical id: 103
          bus info: pci@0000:00:18.2
          version: 00
          width: 32 bits
          clock: 33MHz
     *-pci:4
          description: Host bridge
          product: Mobile K10 [Turion X2, Athlon X2, Sempron] Miscellaneous Control
          vendor: Advanced Micro Devices [AMD]
          physical id: 104
          bus info: pci@0000:00:18.3
          version: 00
          width: 32 bits
          clock: 33MHz
     *-pci:5
          description: Host bridge
          product: Mobile K10 [Turion X2, Athlon X2, Sempron] Link Control
          vendor: Advanced Micro Devices [AMD]
          physical id: 105
          bus info: pci@0000:00:18.4
          version: 00
          width: 32 bits
          clock: 33MHz
  *-scsi
       physical id: 1
       bus info: scsi@8
       logical name: scsi8
       capabilities: scsi-host
       configuration: driver=usb-storage
I was right-clicking filesystem and clicking properties. It appears, if I'm reading these results correctly, that I have 12G of space with 4.8G free. Is this correct?
 
Old 06-05-2010, 11:07 PM   #12
FredGSanford
Senior Member
 
Registered: Nov 2005
Location: USA
Distribution: Mageia Cauldron - Debian Testing - Salix OS
Posts: 1,004
Blog Entries: 5

Rep: Reputation: 121Reputation: 121
This seems to be your root drive:

Filesystem Size Used Avail Use% Mounted on

/dev/sda6 12G 4.8G 6.4G 43% /

With a total size of 12gb, 4.8gb is used and 6.4gb is free space. I'm not seeing any type of swap partition either. I don't see anything showing 120TB.
 
Old 06-06-2010, 12:47 AM   #13
chetjordan2002
LQ Newbie
 
Registered: Jul 2006
Location: Dunbar, WV
Distribution: Mint 9
Posts: 23

Original Poster
Rep: Reputation: 15
I see now...thank you. As I stated before, the 120TB shows up when I right click and click properties like you would in windows. I'm still in my infancy of learning Linux so I was unaware of the commands that Harry posted. Thank you all for your help
 
Old 03-02-2012, 08:14 AM   #14
happytony
LQ Newbie
 
Registered: Mar 2012
Posts: 4

Rep: Reputation: Disabled
This pic

He means this 1 which i m facing also. for 80G HD show 120TB.
any1 know?
Thanks
 
Old 03-02-2012, 08:15 AM   #15
happytony
LQ Newbie
 
Registered: Mar 2012
Posts: 4

Rep: Reputation: Disabled
how to post picture? i do have the screen shoot.
 
  


Reply

Tags
drive, free, gb, gigabyte, hard, manager, partition, space, tb


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Moving files from a Linux hard drive to a Windows Vista Premium hard drive WolfMan51 Linux - Hardware 5 07-12-2011 10:19 AM
Booting Linux on an external USB hard drive (not a memory stick, a hard drive) comcastuser Linux - Hardware 4 01-13-2010 07:59 PM
I want to copy my hard drive to a larger hard drive and boot from the new drive. lpmorgan1 Ubuntu 8 09-08-2009 12:26 AM
[SOLVED] Hardware crash,Repaired,New Install New Hard drive,how to access original Hard drive flatstan Linux - Hardware 7 07-21-2009 07:51 PM
Ubuntu: Installed to external hard drive; boot to primary hard drive gives error 22 dcorb62 Linux - General 7 09-05-2007 12:28 AM


All times are GMT -5. The time now is 12:18 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration