Nabídka

Zobrazit příspěvky

Zde lze prohlédnout všech příspěvky uživatele. Jsou zde vidět pouze příspěvky z oblastí, do kterých máte přístup.

Nabídka Zobrazit příspěvky

Příspěvky - freebeart

#1
Zdravím, mám problem s diskom WD 4TB RED napojený cez usb suflik. Chvilku ide pekne a chvilu sa deje toto.   

[ 1660.965944] sd 6:0:0:0: Device offlined - not ready after error recovery
[ 1660.965953] sd 6:0:0:0: [sdb] Unhandled error code
[ 1660.965970] end_request: I/O error, dev sdb, sector 3906738720
[ 1660.966328] JBD: I/O error detected when updating journal superblock for sdb1.
[ 1676.597462] EXT3-fs error (device sdb1): ext3_find_entry: reading directory #2 offset 0
[ 1676.598555] Buffer I/O error on device sdb1, logical block 0
[ 1676.598601] lost page write due to I/O error on sdb1
[ 1676.598642] EXT3-fs (sdb1): I/O error while writing superblock


Disk sa zastavi a do restartu PC nejde nic robit.  GPT/EX3.

Ďakujem za radu
#2
Disk ide pripojiť aj odpojit pomocou mount/umount pod uživateľom lucas aj root len napísaním prikazu cez shell.
sudo mount /dev/sdc1 /media/usb0
sudo umount /dev/sdc1 /media/usb0

Problém je že:
Disk sa sice odpojí s pravým tlačidlom myšky zadaním voľby Vysunút zvazok ale vypíše spomenutú hlášku Not Authorized..
Čiže niekde je chyba, a ja len chcem vedieť kde a prečo a ako sa jej zbaviť.

A tento stav sa komplikuje o to že, mám rôzne USB klúče NTFS. FAT32. Teraz sa bavíme o FAT32, NTFS nefunguje vôbec. Ale to potom.

PRIPOJENIE A ODPOJENIE DISKU DBUS-MONITOR

member=VolumeMount
   string "0x1b56460"
   string ""
   uint32 0
   string "6740:15"
signal sender=:1.25 -> dest=(null destination) serial=228 path=/org/gtk/Private/RemoteVolumeMonitor; interface=org.gtk.Private.RemoteVolumeMonitor; member=VolumeChanged
   string "org.gtk.Private.GduVolumeMonitor"
   string "0x1b56460"
   struct {
      string "0x1b56460"
      string "16 GB Filesystem"
      string ". GThemedIcon drive-removable-media-usb drive-removable-media drive-removable drive"
      string ""
      string ""
      boolean true
      boolean false
      string "0x1b44b80"
      string "0x1bd60c0"
      array [
         dict entry(
            string "unix-device"
            string "/dev/sdb1"
         )
         dict entry(
            string "uuid"
            string "4C88-5F36"
         )
      ]
      string ""
      array [
      ]
   }
signal sender=:1.25 -> dest=(null destination) serial=229 path=/org/gtk/Private/RemoteVolumeMonitor; interface=org.gtk.Private.RemoteVolumeMonitor; member=MountAdded
   string "org.gtk.Private.GduVolumeMonitor"
   string "0x1bd60c0"
   struct {
      string "0x1bd60c0"
      string "16 GB Filesystem"
      string ". GThemedIcon drive-removable-media-usb drive-removable-media drive-removable drive"
      string ""
      string "file:///media/usb0"
      boolean true
      string "0x1b56460"
      array [
      ]
      string ""
      array [
      ]
   }
method return sender=:1.25 -> dest=:1.19 reply_serial=31
method call sender=:1.62 -> dest=:1.136 serial=30 path=/org/freedesktop/Notifications; interface=org.freedesktop.Notifications; member=Notify
   string "xfdesktop"
   uint32 0
   string "drive-removable-media-usb"
   string "Zápis dát do zariadenia"
   string "Dáta je potrebné zapísať na zariadenie "16 GB Filesystem" pred jeho odobratím. Neodoberajte médium ani neodpájajte jednotku"
   array [
   ]
   array [
      dict entry(
         string "urgency"
         variant             byte 2
      )
   ]
   int32 0
method return sender=:1.136 -> dest=:1.62 reply_serial=30
   uint32 5
method call sender=:1.19 -> dest=org.gtk.Private.GduVolumeMonitor serial=32 path=/org/gtk/Private/RemoteVolumeMonitor; interface=org.gtk.Private.RemoteVolumeMonitor; member=DriveEject
   string "0x1b44b80"
   string ""
   uint32 0
   string ""
signal sender=:1.25 -> dest=(null destination) serial=231 path=/org/gtk/Private/RemoteVolumeMonitor; interface=org.gtk.Private.RemoteVolumeMonitor; member=MountPreUnmount
   string "org.gtk.Private.GduVolumeMonitor"
   string "0x1bd60c0"
   struct {
      string "0x1bd60c0"
      string "16 GB Filesystem"
      string ". GThemedIcon drive-removable-media-usb drive-removable-media drive-removable drive"
      string ""
      string "file:///media/usb0"
      boolean true
      string "0x1b56460"
      array [
      ]
      string ""
      array [
      ]
   }
signal sender=:1.25 -> dest=(null destination) serial=232 path=/org/gtk/Private/RemoteVolumeMonitor; interface=org.gtk.Private.RemoteVolumeMonitor; member=VolumeChanged
   string "org.gtk.Private.GduVolumeMonitor"
   string "0x1b56460"
   struct {
      string "0x1b56460"
      string "16 GB Filesystem"
      string ". GThemedIcon drive-removable-media-usb drive-removable-media drive-removable drive"
      string ""
      string ""
      boolean true
      boolean false
      string "0x1b44b80"
      string ""
      array [
         dict entry(
            string "unix-device"
            string "/dev/sdb1"
         )
         dict entry(
            string "uuid"
            string "4C88-5F36"
         )
      ]
      string ""
      array [
      ]
   }
signal sender=:1.25 -> dest=(null destination) serial=233 path=/org/gtk/Private/RemoteVolumeMonitor; interface=org.gtk.Private.RemoteVolumeMonitor; member=MountChanged
   string "org.gtk.Private.GduVolumeMonitor"
   string "0x1bd60c0"
   struct {
      string "0x1bd60c0"
      string "16 GB Filesystem"
      string ". GThemedIcon drive-removable-media-usb drive-removable-media drive-removable drive"
      string ""
      string "file:///media/usb0"
      boolean true
      string ""
      array [
      ]
      string ""
      array [
      ]
   }
signal sender=:1.25 -> dest=(null destination) serial=234 path=/org/gtk/Private/RemoteVolumeMonitor; interface=org.gtk.Private.RemoteVolumeMonitor; member=MountRemoved
   string "org.gtk.Private.GduVolumeMonitor"
   string "0x1bd60c0"
   struct {
      string "0x1bd60c0"
      string "16 GB Filesystem"
      string ". GThemedIcon drive-removable-media-usb drive-removable-media drive-removable drive"
      string ""
      string "file:///media/usb0"
      boolean true
      string ""
      array [
      ]
      string ""
      array [
      ]
   }
error sender=:1.25 -> dest=:1.19 error_name=org.glib.GError.gdu_2Derror_2Dquark.c7 reply_serial=32
  [b] string "Not Authorized"[/b]
method call sender=:1.62 -> dest=:1.136 serial=31 path=/org/freedesktop/Notifications; interface=org.freedesktop.Notifications; member=CloseNotification
   uint32 5
signal sender=:1.136 -> dest=(null destination) serial=25 path=/org/freedesktop/Notifications; interface=org.freedesktop.Notifications; member=NotificationClosed
   uint32 5
   uint32 3
method return sender=:1.136 -> dest=:1.62 reply_serial=31


EDIT Ota Trkola: Kódy, výpisy atd patří mezi tagy CODE, respektuj to prosím.

Ok. budem. Soory
#3
Ahoj Peter,

Ďakujem za vyčerpávajúcu odpoveď.

1) verzia 3.2.0-42 amd64 1 SMP Debian 3.2.41-2 x86_64 (wheezy).
2)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs (rw,relatime,size=10240k,nr_inodes=999744,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=801008k,mode=755)
/dev/disk/by-uuid/3a601668-573e-4cf8-862a-2ab36d285259 on / type ext3 (rw,relatime,errors=remount-ro,barrier=1,data=ordered)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
tmpfs on /run/shm type tmpfs (rw,nosuid,nodev,noexec,relatime,size=2387620k)
rpc_pipefs on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
/dev/sdb1 on /media/usb0 type vfat (rw,nosuid,nodev,noexec,relatime,uid=1000,fmask=0022,dmask=0022,codepage=cp437,iocharset=utf8,shortname=mixed,errors=remount-ro,user=lucas)

3) ano všetky sú nainštalované

4)
Dbus-monitor pod  superuserom
Failed to open connection to session bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.

Dbus-monitor normal user
signal sender=org.freedesktop.DBus -> dest=:1.54 serial=2 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameAcquired
   string ":1.54"
method call sender=:1.54 -> dest=org.freedesktop.DBus serial=3 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
   string "eavesdrop=true,type='method_call'"
method call sender=:1.54 -> dest=org.freedesktop.DBus serial=4 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
   string "eavesdrop=true,type='method_return'"
method call sender=:1.54 -> dest=org.freedesktop.DBus serial=5 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
   string "eavesdrop=true,type='error'"

LF

P.S. pod superuserom vsetko funguje myslim ze by stacilo nejak pridat uzivatela lucas(jediny uzivatel) aby mal prava pre mount a umount. Ale neviem ako. Porad prosim.
#4
Pani tu je vypis...

1.Po vlozeni disku sa disk automaticky pripoji. Da sa to nastavit v menu nastavenia, vymenitelne zariadenia. Ako vidite volby user a noauto tam su, ale problem s unmount stale trva.

2. Kde je nastavenie pre xfce4-mount-plugin?

Ďakujem

# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
# / was on /dev/sda1 during installation
UUID=3a601668-573e-4cf8-862a-2ab36d285259 /               ext3    errors=remount-ro 0       1
# swap was on /dev/sda5 during installation
UUID=91482fe2-cdb4-4a2b-afd8-ca4c22733e12 none            swap    sw              0       0
/dev/sdb1       /media/usb0     auto    rw,user,noauto  0       0



rootfs / rootfs rw 0 0
sysfs /sys sysfs rw,nosuid,nodev,noexec,relatime 0 0
proc /proc proc rw,nosuid,nodev,noexec,relatime 0 0
udev /dev devtmpfs rw,relatime,size=10240k,nr_inodes=999744,mode=755 0 0
devpts /dev/pts devpts rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000 0 0
tmpfs /run tmpfs rw,nosuid,noexec,relatime,size=801008k,mode=755 0 0
/dev/disk/by-uuid/3a601668-573e-4cf8-862a-2ab36d285259 / ext3 rw,relatime,errors=remount-ro,barrier=1,data=ordered 0 0
tmpfs /run/lock tmpfs rw,nosuid,nodev,noexec,relatime,size=5120k 0 0
tmpfs /run/shm tmpfs rw,nosuid,nodev,noexec,relatime,size=2387620k 0 0
rpc_pipefs /var/lib/nfs/rpc_pipefs rpc_pipefs rw,relatime 0 0
fusectl /sys/fs/fuse/connections fusectl rw,relatime 0 0
/dev/sdb1 /media/usb0 vfat rw,nosuid,nodev,noexec,relatime,uid




#5
Zdravim páni,

Príklad:
Remote desktop mi funguje cez ssh tunel v Putty je nastavene host [server:22]  a v ssh tunel je source [localhost:1024] a destination [lokalna ip:3389],
Nasledne zadám do Windows RDP localhost:1024 a všetko funguje. (iptables sú ok - INPUT 3389).

Ako to nastaviť aby bolo možné obdobne sa pripojiť cez browser na  /lokalnaip:9091/transmission/web. ( webový transmission)

Ani za ten svet mi to nejde.

Ďakujem moc

L
#6
Zdravím páni,

Prosím o radu.

Xfce4-mount-plugin automaticky pripojí disk, potom zvolím pravým tlačidlom vysunúť disk, disk sa síce vysunie, ale vypíše túto hlášku. (vid. obrázok)
Myslím že problém je v právach, ak napíšem do shellu pod superuserom "unmount usb0 v /etc/media", tak sa bez problému unmoutne. Len cez plochu vyhadzuje tie nezmysli.
Čo s tým? Ďakujem veľmi pekne za rady.

http://postimg.org/image/3mxdhtxor