LINUX.ORG.RU

Сообщения RTYPZCT

 

Чем посчитать трафик за месяц в debian jessie kde? Как запустить Knemo?

Форум — Desktop

Желательно с GUI и значком в системном лотке на панели задач.

 , , ,

RTYPZCT
()

Как узнать на каких дисках находятся разделы, если они в LVM? Нормальный ли SMART диска?

Форум — Desktop
smartctl -i /dev/sdb
smartctl 6.4 2014-10-07 r4002 [x86_64-linux-3.16.0-4-amd64] (local build)
Copyright (C) 2002-14, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Seagate Barracuda 7200.9
Device Model:     ST3160811AS
Firmware Version: 3.AAE
User Capacity:    160 040 803 840 bytes [160 GB]
Sector Size:      512 bytes logical/physical
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ATA/ATAPI-7 (minor revision not indicated)
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

smartctl -A /dev/sdb
smartctl 6.4 2014-10-07 r4002 [x86_64-linux-3.16.0-4-amd64] (local build)
Copyright (C) 2002-14, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF READ SMART DATA SECTION ===
SMART Attributes Data Structure revision number: 10
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate     0x000f   114   086   006    Pre-fail  Always       -       83564437
  3 Spin_Up_Time            0x0003   096   095   000    Pre-fail  Always       -       0
  4 Start_Stop_Count        0x0032   094   094   020    Old_age   Always       -       6818
  5 Reallocated_Sector_Ct   0x0033   100   100   036    Pre-fail  Always       -       8
  7 Seek_Error_Rate         0x000f   078   060   030    Pre-fail  Always       -       61987531
  9 Power_On_Hours          0x0032   076   076   000    Old_age   Always       -       21417
 10 Spin_Retry_Count        0x0013   100   100   097    Pre-fail  Always       -       0
 12 Power_Cycle_Count       0x0032   093   093   020    Old_age   Always       -       7462
187 Reported_Uncorrect      0x0032   001   001   000    Old_age   Always       -       137
189 High_Fly_Writes         0x003a   100   100   000    Old_age   Always       -       0
190 Airflow_Temperature_Cel 0x0022   055   045   045    Old_age   Always   In_the_past 45 (Min/Max 27/50)
194 Temperature_Celsius     0x0022   045   055   000    Old_age   Always       -       45 (0 14 0 0 0)
195 Hardware_ECC_Recovered  0x001a   050   045   000    Old_age   Always       -       129889315
197 Current_Pending_Sector  0x0012   001   001   000    Old_age   Always       -       4294967295
198 Offline_Uncorrectable   0x0010   001   001   000    Old_age   Offline      -       4294967295
199 UDMA_CRC_Error_Count    0x003e   200   164   000    Old_age   Always       -       48416
200 Multi_Zone_Error_Rate   0x0000   100   253   000    Old_age   Offline      -       0
202 Data_Address_Mark_Errs  0x0032   100   253   000    Old_age   Always       -       0

fdisk -l для одного диска показывает разделы, а для другого вот:

$ sudo fdisk -l

Disk /dev/sdb: 149,1 GiB, 160040803840 bytes, 312579695 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x4903fc56

Device     Boot Start       End   Sectors  Size Id Type
/dev/sdb1  *     2048 312578047 312576000  149G 8e Linux LVM

Disk /dev/sda: 149,1 GiB, 160041885696 bytes, 312581808 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos

 , , , ,

RTYPZCT
()

Как перенести сеанс обратно на tty7, убрать тиринг и исправить то, что я сделал с xorg?

Форум — Desktop

Я пытался убрать tearing с помощью вот этой темы. Он пропадал только, когда я вводил в консоли это:

nvidia-settings --assign CurrentMetaMode="nvidia-auto-select +0+0 { ForceFullCompositionPipeline = On }"
Я почему-то думал что xorg.conf будет находитсья в /etc/X11/, его там не было и я решил его создать с помощью Xorg -configure, а именно вот так :
# /etc/init.d/kdm stop [b](отключал kdm я в консоли)[/b]
$ cd /etc/X11/
$ Xorg -configure (не создался, или это он и был в домашнем разделе)
$ startx
Я повторял это пока не попробовал все способы из той статьи, но tearing остался и я зачем-то выполнил все команды от суперпользователя. После этого, я так понимаю, графический сеанс у меня стал работать на tty1, а не на tty7. Пытясь вернуть графику на tty7, я менял права на файл ~/.Xauthority, но они видимо не поменялись, сейчас они такие:
-rw-------
А ещё я перемещал файл xorg.conf из домашнего раздела в /etc/xorg.conf, но тогда графики вообще не было. Дальше я забыл про графику на tty7 и решил установить nvidia-xconfig, который создал файл конфигурации xorg.conf в /etc/X11, но он меньше и не содержит разделов files, module, и самое главное не пропал tearing. Так же я удалил файл блокировки(/tmp/.X0-lock) с rm -rf. В домашней папке у меня нет файла xinitrc. На 7 терминале просто мигает курсор.
Помогите мне вернуть графический сеанс на tty7, разместить xorg.conf в /etc/X11 (или не нужно?) и победить tearing..

$ grep «EE» /var/log/Xorg*

/var/log/Xorg.0.log:[  3669.665] (EE)
/var/log/Xorg.0.log:[  3669.665] (EE) Cannot establish any listening sockets - Make sure an X server isn't already running(EE)
/var/log/Xorg.0.log:[  3669.665] (EE)
/var/log/Xorg.0.log:[  3669.665] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
/var/log/Xorg.0.log:[  3669.665] (EE)
/var/log/Xorg.0.log:[  3669.665] (EE) Server terminated with error (1). Closing log file.
/var/log/Xorg.0.log.old:[  3408.237] (EE)
/var/log/Xorg.0.log.old:[  3408.237] (EE) Cannot establish any listening sockets - Make sure an X server isn't already running(EE)
/var/log/Xorg.0.log.old:[  3408.238] (EE)
/var/log/Xorg.0.log.old:[  3408.238] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
/var/log/Xorg.0.log.old:[  3408.239] (EE)
/var/log/Xorg.0.log.old:[  3408.239] (EE) Server terminated with error (1). Closing log file.

$ cat /var/log/Xorg*

[  3669.664] _XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() failed
[  3669.665] _XSERVTransMakeAllCOTSServerListeners: server already running
[  3669.665] (EE)
Fatal server error:
[  3669.665] (EE) Cannot establish any listening sockets - Make sure an X server isn't already running(EE)
[  3669.665] (EE)
Please consult the The X.Org Foundation support
         at http://wiki.x.org
 for help.
[  3669.665] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[  3669.665] (EE)
[  3669.665] (EE) Server terminated with error (1). Closing log file.
[  3408.237] _XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() failed
[  3408.237] _XSERVTransMakeAllCOTSServerListeners: server already running
[  3408.237] (EE)
Fatal server error:
[  3408.237] (EE) Cannot establish any listening sockets - Make sure an X server isn't already running(EE)
[  3408.238] (EE)
Please consult the The X.Org Foundation support
         at http://wiki.x.org
 for help.
[  3408.238] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[  3408.239] (EE)
[  3408.239] (EE) Server terminated with error (1). Closing log file.

grep EE ~/.local/share/xorg/Xorg.0.log]

[  2649.390] (EE)
[  2649.390] (EE) Cannot establish any listening sockets - Make sure an X server isn't already running(EE)
[  2649.391] (EE)
[  2649.391] (EE) Please also check the log file at "/home/user/.local/share/xorg/Xorg.0.log" for additional information.
[  2649.392] (EE)
[  2649.392] (EE) Server terminated with error (1). Closing log file.

cat ~/.local/share/xorg/Xorg.0.log]

[  2649.390] _XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() failed
[  2649.390] _XSERVTransMakeAllCOTSServerListeners: server already running
[  2649.390] (EE)
Fatal server error:
[  2649.390] (EE) Cannot establish any listening sockets - Make sure an X server isn't already running(EE)
[  2649.391] (EE)
Please consult the The X.Org Foundation support
         at http://wiki.x.org
 for help.
[  2649.391] (EE) Please also check the log file at "/home/user/.local/share/xorg/Xorg.0.log" for additional information.
[  2649.392] (EE)
[  2649.392] (EE) Server terminated with error (1). Closing log file.

 , , , ,

RTYPZCT
()

Изменение прав доступа для раздела в debian

Форум — Desktop

Как сменить владельца каталога/раздела с root на пользователя?

 ,

RTYPZCT
()

Разметка диска для домашнего компьютера с debian

Форум — Linux-install

Дано:

  • 2xHDD=160GB
  • RAID1(?)
  • LVM(?)
  • BIOS

Разметка:

  • 1-ое изменение: добавил тег fstab,+ некоторые изменения в разметке
  • 2-ое измение: приоритетная разметка, /usr будет обычным каталогом в /(root) или /opt/steam
  • 3-ее изменение: разметка шапки.

 , , ,

RTYPZCT
()

RSS подписка на новые темы