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
Welcome to
LinuxQuestions.org , a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free.
Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please
contact us . If you need to reset your password,
click here .
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
05-31-2010, 12:18 PM
#1
LQ Newbie
Registered: Jul 2006
Location: Dunbar, WV
Distribution: Mint 9
Posts: 23
Rep:
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.
05-31-2010, 12:32 PM
#2
Member
Registered: Nov 2007
Location: Lincolnshire, UK
Distribution: CentOS, Fedora, and Suse
Posts: 360
Rep:
PartMagic provides a bootable CD (Live-CD) designed to help manipulate partitions. I'd recommend using this.
05-31-2010, 12:52 PM
#3
LQ Newbie
Registered: Jul 2006
Location: Dunbar, WV
Distribution: Mint 9
Posts: 23
Original Poster
Rep:
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?
05-31-2010, 01:18 PM
#4
Member
Registered: Jul 2007
Location: Scunthorpe, UK
Distribution: Ubuntu 8.10; Gentoo; Debian Lenny
Posts: 961
Rep:
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
05-31-2010, 04:29 PM
#5
LQ Newbie
Registered: Jul 2006
Location: Dunbar, WV
Distribution: Mint 9
Posts: 23
Original Poster
Rep:
Hmmm...not quite. What I'm wanting to do is take space from my windows partition and give it to my linux partition
05-31-2010, 05:36 PM
#6
Member
Registered: Jul 2007
Location: Scunthorpe, UK
Distribution: Ubuntu 8.10; Gentoo; Debian Lenny
Posts: 961
Rep:
Yes, but you need Windows to be able to see and read the partition first
05-31-2010, 06:37 PM
#7
Guru
Registered: Aug 2004
Location: Brisbane
Distribution: Centos 6.2, Centos 5.8
Posts: 11,740
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.
06-01-2010, 01:30 PM
#8
Member
Registered: Nov 2007
Location: Lincolnshire, UK
Distribution: CentOS, Fedora, and Suse
Posts: 360
Rep:
This type of task is pretty easy in
PartMagic , honest.
06-05-2010, 08:39 AM
#9
LQ Newbie
Registered: Jul 2006
Location: Dunbar, WV
Distribution: Mint 9
Posts: 23
Original Poster
Rep:
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.
06-05-2010, 09:28 AM
#10
Member
Registered: Nov 2007
Location: Lincolnshire, UK
Distribution: CentOS, Fedora, and Suse
Posts: 360
Rep:
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.
06-05-2010, 09:21 PM
#11
LQ Newbie
Registered: Jul 2006
Location: Dunbar, WV
Distribution: Mint 9
Posts: 23
Original Poster
Rep:
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?
06-05-2010, 10:07 PM
#12
Member
Registered: Nov 2005
Location: USA
Distribution: Mageia 1
Posts: 907
Rep:
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.
06-05-2010, 11:47 PM
#13
LQ Newbie
Registered: Jul 2006
Location: Dunbar, WV
Distribution: Mint 9
Posts: 23
Original Poster
Rep:
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
03-02-2012, 07:14 AM
#14
LQ Newbie
Registered: Mar 2012
Posts: 4
Rep:
This pic
He means this 1 which i m facing also. for 80G HD show 120TB.
any1 know?
Thanks
03-02-2012, 07:15 AM
#15
LQ Newbie
Registered: Mar 2012
Posts: 4
Rep:
how to post picture? i do have the screen shoot.
Thread Tools
Search this Thread
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
All times are GMT -5. The time now is 04:34 PM .
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know .
Latest Threads
LQ News