Results 1 to 7 of 7

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

  1. #1

    Default 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

    why does this command not work - diskutil list

    which one is better
    dilbert ;-)
    Wordpress-development - a Toolset: wpgear.org

  2. #2
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    23,710
    Blog Entries
    1

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

    This will give you a nice human-readable overview
    Code:
    df -aTh

  3. #3
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: List All Mounted Drives and their Partitions from the Terminalin opensuse

    On 2013-12-16 21:26, dilbertone wrote:

    > but unfortunatley the command does not work


    Why? Do you get an error? Which one?

    > why does this command not work - diskutil list


    Dunno. I don't have it. Where did you got it from?

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 12.3 x86_64 "Dartmouth" at Telcontar)

  4. #4

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

    hello - robin hello deano_ferrari,


    many many thanks for the quick reply


    great to hear from you! the command you mention - deano ferrari - works great.


    note: 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
    dilbert

    btw - @ robin - i have found the diskutill - command in an ubuntu -forum... but this does not fit.
    dilbert ;-)
    Wordpress-development - a Toolset: wpgear.org

  5. #5
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: List All Mounted Drives and their Partitions from the Terminalin opensuse

    On 2013-12-16 22:46, dilbertone wrote:

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


    And that's the reason you want information about what is mounted? I
    don't see how they relate.


    > *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% /
    > /dev/sda13 ext4 20G 19G 131M 100% /


    > tmpfs tmpfs 1,9G 0 1,9G 0% /media


    > /dev/sda14 ext4 384G 72G 311G 19% /home
    > /dev/sdb1 ext4 917G 200M 916G 1% /media/HDDRIVE2GO


    > martin@linux-wyee:~>
    > --------------------


    Well, you see, there is no "/mnt/external/" anywhere. Instead, there is
    a "/media/HDDRIVE2GO" of about 1TB.


    > well what is wrong´ here;:
    >
    > note - i have to copy 62 gb - but this fails every time i try to do so.


    It fails because there is nothing mounted at "/mnt/external/", so you
    are copying files to the root partition instead, which has only 20 Gigs.
    It fills and the copy bombs out.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 12.3 x86_64 "Dartmouth" at Telcontar)

  6. #6

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

    hello dear Robin



    many thanks for the reply.

    well i subsequentlx mount the following

    /mnt/external

    or - .. the drive like it is called above.

    btw: i heard bout the automatic mounting.

    and on a sindenote - if i can browse in the erxternal drive - after booting the whoe system - this does not mean that the drive is mounted!?!?

    i thought that it ___was __? whiy it was not.

    in other words - i have to make sure that the mounting is being done.
    we have no automatical mounting -
    the fact that i can browse the files and folders in the drive - does not indicate that it is mounted correctly!?

    i will do more trials and will do as you advices.

    i come back and report all the findings

    many many thanks for all your hints.

    greetings
    dilbert
    dilbert ;-)
    Wordpress-development - a Toolset: wpgear.org

  7. #7
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: List All Mounted Drives and their Partitions from the Terminalin opensuse

    On 2013-12-17 02:46, dilbertone wrote:

    > in other words - i have to make sure that the mounting is being done.


    Issue the command "mount" and find out. Or "df" as you did before.

    > we have no automatical mounting -
    > the fact that i can browse the files and folders in the drive - does not
    > indicate that it is mounted correctly!?


    No - because it could be the files that you copied on to root thinking
    it was the external drive.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 12.3 x86_64 "Dartmouth" at Telcontar)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •