LinuxQuestions.org
Register a domain and help support LQ
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 12-16-2013, 03:26 PM   #1
sayhello_to_the_world
Member
 
Registered: May 2013
Posts: 220

Rep: Reputation: Disabled
how to list All Mounted Drives and their Partitions from the Terminal in opensuse


List All Mounted Drives and their Partitions from the Terminal in opensuse


hello dear linux-experts - i waant to list all mounted drives


i run OpenSuse Linux 12.3 - i want to have an oververiew on all the dirves and partitions:

note; there is only one drive in the notebook and one external is mounted.

To list all mounted drives and their accompanying partitions from the Terminal, type the following command:
i tried to run the following command:

diskutil list

i thought this will give us feedback like the following,
listing out the mounted drives,
their volume names,
the size of the drive and partitions,
their partition types, and
their identifier location:


but unfortunatley the command does not work


this command does not work - diskutil list

which one is more appropiate!?

sayx
 
Old 12-16-2013, 03:45 PM   #2
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,258

Rep: Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947
Code:
mount
or
Code:
df
will list all mounted filesystems/partitions
Code:
fdisk -l
will list all disks and their partitions, mounted or unmounted.
 
1 members found this post helpful.
Old 12-16-2013, 04:36 PM   #3
sayhello_to_the_world
Member
 
Registered: May 2013
Posts: 220

Original Poster
Rep: Reputation: Disabled
hello - many many thanks for the quick reply


great to hear from you!

the background - as you allready know! i have a notebook with the following amount of data:

Code:
62 gb	
224 686 files 
47868 subfolder
i have a external hdd that has got one TERABITE

it is mounted here:

Code:
/mnt/external/

Each time i try to copy the data to the external drive - with Dolphin - i get serious errors: the copy-procedure ends up with a mess - not all of the data is being copied to the external drive.

see the results:

Code:
2.7 g of 19,7 gb are free
87 % are in use ! 
117 files 
47289 subfolder
question: is there any obvious error that we can see - i listed the


Code:
martin@linux-wyee:~> df -aTh
Dateisystem      Typ                   Größe Benutzt Verf. Verw% Eingehängt auf
rootfs           rootfs                  20G     19G  131M  100% /
devtmpfs         devtmpfs               1,9G    8,0K  1,9G    1% /dev
tmpfs            tmpfs                  1,9G     96K  1,9G    1% /dev/shm
tmpfs            tmpfs                  1,9G    704K  1,9G    1% /run
devpts           devpts                    0       0     0     - /dev/pts
/dev/sda13       ext4                    20G     19G  131M  100% /
proc             proc                      0       0     0     - /proc
sysfs            sysfs                     0       0     0     - /sys
tmpfs            tmpfs                  1,9G       0  1,9G    0% /sys/fs/cgroup
cgroup           cgroup                    0       0     0     - /sys/fs/cgroup/systemd
cgroup           cgroup                    0       0     0     - /sys/fs/cgroup/cpuset
cgroup           cgroup                    0       0     0     - /sys/fs/cgroup/cpu,cpuacct
cgroup           cgroup                    0       0     0     - /sys/fs/cgroup/memory
cgroup           cgroup                    0       0     0     - /sys/fs/cgroup/devices
cgroup           cgroup                    0       0     0     - /sys/fs/cgroup/freezer
cgroup           cgroup                    0       0     0     - /sys/fs/cgroup/net_cls
cgroup           cgroup                    0       0     0     - /sys/fs/cgroup/blkio
cgroup           cgroup                    0       0     0     - /sys/fs/cgroup/perf_event
systemd-1        autofs                    0       0     0     - /proc/sys/fs/binfmt_misc
hugetlbfs        hugetlbfs                 0       0     0     - /dev/hugepages
tmpfs            tmpfs                  1,9G    704K  1,9G    1% /var/lock
securityfs       securityfs                0       0     0     - /sys/kernel/security
tmpfs            tmpfs                  1,9G    704K  1,9G    1% /var/run
tmpfs            tmpfs                  1,9G       0  1,9G    0% /media
debugfs          debugfs                   0       0     0     - /sys/kernel/debug
mqueue           mqueue                    0       0     0     - /dev/mqueue
/dev/sda14       ext4                   384G     72G  311G   19% /home
/dev/sdb1        ext4                   917G    200M  916G    1% /media/HDDRIVE2GO
fusectl          fusectl                   0       0     0     - /sys/fs/fuse/connections
gvfs-fuse-daemon fuse.gvfs-fuse-daemon     0       0     0     - /run/user/martin/gvfs
martin@linux-wyee:~>

well what is wrong´ here;:

note - i have to copy 62 gb - but this fails every time i try to do so.
note; some reasons for the failure may have to do with the data for the thundervbird - which is among the dataset - that need to be backuped .-...

note; i have an error martin/.thunderbird/4crusgOg.default/global-messages-db.sqlite
cannot be written - not enough disc-space..


to sum it up: i have certain issus in copying the dataset to the exernal drive - (method: dolphin - the graphical tool)

in advance many many thanks for any and all help!!

greetings
 
Old 12-16-2013, 04:39 PM   #4
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,258

Rep: Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947
It sounds like you're not copying it onto the external, you're copying it to some other directory that is a subset of /. Your external is at /media/HDDRIVE2GO.
 
1 members found this post helpful.
Old 12-17-2013, 04:56 AM   #5
sayhello_to_the_world
Member
 
Registered: May 2013
Posts: 220

Original Poster
Rep: Reputation: Disabled
hello suicidaleggroll

- thx alot for the hints. There something went wrong. And you pointed it out! Many many thanks!

by the way: is there any chance to mount partitions automatically on startup in linux.

note: Although partitions created when installing a Linux distribution are automatically mounted on boot, the ones created before the installation need to be mounted manually (unless we manually create a mount point on installation).
I heard about that this can be changed, however.
 
Old 12-17-2013, 05:07 AM   #6
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
Have a look at /etc/fstab; all the mounts should be listed there.
 
1 members found this post helpful.
Old 12-17-2013, 05:10 AM   #7
gdejonge
Member
 
Registered: Aug 2010
Location: Netherlands
Distribution: Kubuntu, Debian, Suse, Slackware
Posts: 317

Rep: Reputation: 73
Quote:
Originally Posted by sayhello_to_the_world View Post
by the way: is there any chance to mount partitions automatically on startup in linux.
Yes this can be done by adding entries in the file /etc/fstab. All entries in this file will automatically be mounted at startup.

Cheers
 
  


Reply


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
[SOLVED] How do you use the terminal to list different drives? nitzix Linux - Newbie 5 06-11-2012 11:11 PM
mounted drives yusufs Linux - General 1 01-27-2008 03:23 AM
e2fsck: root partitions and ro mounted partitions Clemente Linux - General 4 11-06-2006 10:32 PM
how do I add partitions to drives that have Logical Volume (LVM) partitions? The MJ Linux - Software 5 08-17-2006 07:15 PM
Mandrake 9.2 not seeing other mounted drives/partitions... Delmarc Linux - Newbie 1 03-23-2004 01:10 PM


All times are GMT -5. The time now is 10:52 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