linux hjälp

Här kan du diskutera andra frågor rörande bild & datorer som inte passar in i någon av ovanstående kategorier.
Användarvisningsbild
Niklas Elste
PAR-64
PAR-64
Inlägg: 2169
Blev medlem: sön 13 jul 2008, 15:58

linux hjälp

Inlägg av Niklas Elste »

nån som kan linux?

hur montar jag flera usb diskar?

How To Use a USB Drive For The VortexBox Media Library

Here are instructions for using a USB drive for your VortexBox media library:

1. Remove all other USB drives (e.g. a backup drive) from your VB. Plug the desired USB drive into your VB.

2. Login to your VB; see Login.

3. Find the device name of the USB drive. Enter
cat /etc/vortexbox/CurrentUsbDrive.txt

On a VB with one internal hard drive, this usually shows /dev/sdb.

4. Mount the drive. Enter
umount /storage
mount /dev/sdb1 /storage

Use the device name from step 3 with a "1" appended in the above command if it's not /dev/sdb.

5. If this works, then automount the drive at boot time. Edit /etc/fstab. Enter
nano /etc/fstab

6. Remove any line that currently mounts /storage. This line may look like
/dev/mapper/VolGroup-lv_storage /storage ext4 defaults 1 2

7. Add the line
/dev/sdb1 /storage ntfs defaults 0 0

Use the correct device name if it's not /dev/sdb1. This presumes the drive has a NTFS filesystem on it. If not, use the correct filesystem type in the above line.

8. Write the file (control-o) and quit (control-x).

9. Test the /etc/fstab entry by entering
umount /storage
mount -a

This should mount the USB drive at /storage.

10. If step 9 is successful, the USB drive will be automounted at /storage when the VB reboots.

11. If you want the proper drive to be automounted regardless of the device name, enter the command
blkid /dev/sdb1

Use the correct device name in the above command if it's not /dev/sdb1.

On my VortexBox, this returns
/dev/sdb1: UUID="725A66165AF23401" TYPE="ntfs"

12. You can then change the step 7 line in /etc/fstab to
UUID="725A66165AF23401" /storage ntfs defaults 0 0

Use the UUID returned by the blkid command on your system.

Användarvisningsbild
Svante Gustafsson
PAR-46
PAR-46
Inlägg: 307
Blev medlem: fre 23 jan 2009, 06:31
Presentation: www.supersound.se

Vi på supersound.se hjälper dig som kund med ljud & ljusanläggning samt discjockeys till just ditt arrangemang!
Ort: Falköping
Kontakt:

Re: linux hjälp

Inlägg av Svante Gustafsson »

Kolla på http://www.sweclockers.com" onclick="window.open(this.href);return false; eller liknande.. är nog ett mycket mer passande forum för din fråga
http://www.Supersound.se" onclick="window.open(this.href);return false; Ljud-ljusanläggning & discjockeys i Skaraborg!

Användarvisningsbild
Niklas Elste
PAR-64
PAR-64
Inlägg: 2169
Blev medlem: sön 13 jul 2008, 15:58

Re: linux hjälp

Inlägg av Niklas Elste »

jo är inte medläm där och att jag tror att det finns ett helt gäng här som kan linux

Användarvisningsbild
Anton Gildebrand
PAR-64
PAR-64
Inlägg: 1023
Blev medlem: sön 19 nov 2006, 12:24
Presentation: Gillar allt som lyser och rör sig. Jobbar med Hog, Chamsys, GMa
Ort: Uppsala

Re: linux hjälp

Inlägg av Anton Gildebrand »

Kan säkert hjälpa dig om du kan berätta vad problemet är.
Flest inlägg när den dör vinner!

Användarvisningsbild
Niklas Elste
PAR-64
PAR-64
Inlägg: 2169
Blev medlem: sön 13 jul 2008, 15:58

Re: linux hjälp

Inlägg av Niklas Elste »

jo jag har flera usb hårddiskar som jag vill ansluta till en nas (gammal bärbar = liten hårddisk)
och jag vill då sen komma åt dom i programmet

men i instruktionen så ser det ut att bara vara för 1 hårdisk
hur gör man för att monta flera

Användarvisningsbild
Anton Gildebrand
PAR-64
PAR-64
Inlägg: 1023
Blev medlem: sön 19 nov 2006, 12:24
Presentation: Gillar allt som lyser och rör sig. Jobbar med Hog, Chamsys, GMa
Ort: Uppsala

Re: linux hjälp

Inlägg av Anton Gildebrand »

Vad heter NASen?
Vilket program?
Flest inlägg när den dör vinner!

Användarvisningsbild
Niklas Elste
PAR-64
PAR-64
Inlägg: 2169
Blev medlem: sön 13 jul 2008, 15:58

Re: linux hjälp

Inlägg av Niklas Elste »

VortexBox

Användarvisningsbild
Anton Gildebrand
PAR-64
PAR-64
Inlägg: 1023
Blev medlem: sön 19 nov 2006, 12:24
Presentation: Gillar allt som lyser och rör sig. Jobbar med Hog, Chamsys, GMa
Ort: Uppsala

Re: linux hjälp

Inlägg av Anton Gildebrand »

Om du kopplar in den andra disken och skriver "mount", vad får du ut då?
Flest inlägg när den dör vinner!

Användarvisningsbild
Niklas Elste
PAR-64
PAR-64
Inlägg: 2169
Blev medlem: sön 13 jul 2008, 15:58

Re: linux hjälp

Inlägg av Niklas Elste »

Ska kolla

Användarvisningsbild
Niklas Elste
PAR-64
PAR-64
Inlägg: 2169
Blev medlem: sön 13 jul 2008, 15:58

Re: linux hjälp

Inlägg av Niklas Elste »

massa text

[vortexbox.localdomain ~]# mount
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
devtmpfs on /dev type devtmpfs (rw,nosuid,size=603072k,nr_inodes=150768,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
tmpfs on /run type tmpfs (rw,nosuid,nodev,mode=755)
/dev/mapper/VolGroup-lv_root on / type ext4 (rw,relatime,data=ordered)
tmpfs on /sys/fs/cgroup type tmpfs (rw,nosuid,nodev,noexec,mode=755)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpuacct,cpu)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/net_cls type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=24,pgrp=1,timeout=300,minproto=5,maxproto=5,direct)
configfs on /sys/kernel/config type configfs (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
mqueue on /dev/mqueue type mqueue (rw,relatime)
securityfs on /sys/kernel/security type securityfs (rw,relatime)
tmpfs on /media type tmpfs (rw,nosuid,nodev,noexec,relatime,mode=755)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
sunrpc on /proc/fs/nfsd type nfsd (rw,relatime)
/dev/sda2 on /boot type ext4 (rw,relatime,data=ordered)
/dev/mapper/VolGroup-lv_storage on /storage type ext4 (rw,relatime,data=ordered)
[vortexbox.localdomain ~]#

Användarvisningsbild
Niklas Elste
PAR-64
PAR-64
Inlägg: 2169
Blev medlem: sön 13 jul 2008, 15:58

Re: linux hjälp

Inlägg av Niklas Elste »

har lyckat monta 1 disk men inge fler hur gör jag

tänkte om man skapar en mapp med /diskb i slutet men det ressulterade bara i det här

[vortexbox.localdomain ~]# mount /dev/sdb1 /storage/diskb
Mount is denied because the NTFS volume is already exclusively opened.
The volume may be already mounted, or another software may use it which
could be identified for example by the help of the 'fuser' command.
[vortexbox.localdomain ~]#

Användarvisningsbild
Niklas Elste
PAR-64
PAR-64
Inlägg: 2169
Blev medlem: sön 13 jul 2008, 15:58

Re: linux hjälp

Inlägg av Niklas Elste »

fick just fram detta
Monteringspunkt Typ Partition Kapacitetsutnyttjande Ledigt Använt Storlek
/ ext4 /dev/mapper/VolGroup-lv_root 9% (1%) 16.44 GB 1.81 GB 19.22 GB
/boot ext4 /dev/sda2 7% (1%) 426.46 MB 32.76 MB 484.22 MB
/storage fuseblk /dev/sdb1 99% (1%) 9.87 GB 921.65 GB 931.51 GB
/storage fuseblk /dev/sdc1 99% (1%) 9.87 GB 921.65 GB 931.51 GB
/storage fuseblk /dev/sdd1 99% 9.87 GB 921.65 GB 931.51 GB
/dev devtmpfs devtmpfs 0% (1%) 588.94 MB 0.00 kB 588.94 MB
/dev/shm tmpfs tmpfs 0% (5%) 596.30 MB 0.00 kB 596.30 MB
/media tmpfs tmpfs 0% (1%) 596.30 MB 0.00 kB 596.30 MB
/sys/fs/cgroup tmpfs tmpfs 0% (1%) 596.30 MB 0.00 kB 596.30 MB
/run tmpfs tmpfs 0% (1%) 595.68 MB 632.00 kB 596.30 MB
Totalt : 98% 47.61 GB 2766.78 GB 2815.39 GB
och det verkar inte stämma

Skriv svar

Vilka är online

Användare som besöker denna kategori: 3 och 0 gäster