|
From: Anton P. <pro...@ug...> - 2008-07-23 17:28:36
|
Hi everybody!
I need your help and advice.
I first time try use SATA HDD with DL. At first I tried
devil-linux-1.2.14-i586-SMP but it ignored SATA HDD, after that I try
devil-linux-1.3.6-2008-07-11-i586. It found HDD, but I cannot use LVM on
it...
Linux version 2.6.25.6-grsec (root@pc-1) (gcc version 4.1.2) #1 SMP
Initialising SATA HDD 80Gb:
ata_piix 0000:00:1f.2: version 2.12
ACPI: PCI Interrupt 0000:00:1f.2[A] -> GSI 18 (level, low) -> IRQ 18
ata_piix 0000:00:1f.2: MAP [ P0 -- P1 -- ]
PCI: Setting latency timer of device 0000:00:1f.2 to 64
scsi0 : ata_piix
scsi1 : ata_piix
ata1: SATA max UDMA/133 cmd 0xe800 ctl 0xe400 bmdma 0xd800 irq 18
ata2: SATA max UDMA/133 cmd 0xe000 ctl 0xdc00 bmdma 0xd808 irq 18
ata1.00: ATA-6: ST380817AS, 3.42, max UDMA/133
ata1.00: 156301488 sectors, multi 16: LBA48 NCQ (not used)
ata1.00: configured for UDMA/133
scsi 0:0:0:0: Direct-Access ATA ST380817AS 3.42 PQ: 0 ANSI: 5
sd 0:0:0:0: [sda] 156301488 512-byte hardware sectors (80026 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support
DPO
or FUA
sd 0:0:0:0: [sda] 156301488 512-byte hardware sectors (80026 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support
DPO
or FUA
sda: sda1
sd 0:0:0:0: [sda] Attached SCSI disk
sd 0:0:0:0: Attached scsi generic sg0 type 0
Starting VLM (devil-linux) with errors but swap is adding witout error:
Jul 23 19:46:33 src@inetproxy kernel: Adding 131064k swap on
/dev/mapper/devil--
linux-swap. Priority:-1 extents:1 across:131064k
Starting LVM
volume group "devil-linux"
logical volume "/dev/devil-linux/log"
logical volume "/dev/devil-linux/spool"
logical volume "/dev/devil-linux/squid"
logical volume "/dev/devil-linux/data"
logical volume "/dev/devil-linux/opt"
logical volume "/dev/devil-linux/home"
logical volume "/dev/devil-linux/swap"
Devil-Linux Harddisk found, activating...
Activating swap
[FAILED]
fsck.ext2: Bad magic number in super-block while trying to open
/dev/devil-linux/opt
/dev/devil-linux/opt:
The superblock could not be read or does not describe a correct ext2
filesystem. If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193 <device>
Mounting /opt mount: you must specify the filesystem type
[FAILED]
fsck.ext2: Bad magic number in super-block while trying to open
/dev/devil-linux/home
/dev/devil-linux/home:
The superblock could not be read or does not describe a correct ext2
filesystem. If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193 <device>
Mounting /home mount: you must specify the filesystem type
[FAILED]
fsck.ext2: Bad magic number in super-block while trying to open
/dev/devil-linux/log
/dev/devil-linux/log:
The superblock could not be read or does not describe a correct ext2
filesystem. If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193 <device>
Mounting /var/log mount: you must specify the filesystem type
[FAILED]
fsck.ext2: Bad magic number in super-block while trying to open
/dev/devil-linux/squid
/dev/devil-linux/squid:
The superblock could not be read or does not describe a correct ext2
filesystem. If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193 <device>
Mounting /var/squid mount: you must specify the filesystem type
[FAILED]
fsck.ext2: Bad magic number in super-block while trying to open
/dev/devil-linux/data
/dev/devil-linux/data:
The superblock could not be read or does not describe a correct ext2
filesystem. If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193 <device>
Mounting /var/data mount: you must specify the filesystem type
[FAILED]
fsck.ext2: Bad magic number in super-block while trying to open
/dev/devil-linux/spool
/dev/devil-linux/spool:
The superblock could not be read or does not describe a correct ext2
filesystem. If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193 <device>
Mounting /var/spool mount: you must specify the filesystem type
[FAILED]
root@inetproxy:/etc/init.d # e2fsck -b 8193 /dev/devil-linux/spool
e2fsck 1.40.8 (13-Mar-2008)
e2fsck: Device or resource busy while trying to open /dev/devil-linux/spool
Filesystem mounted or opened exclusively by another program?
Info about my LVM group and volume:
root@inetproxy:/etc/lvm # lvm pvdisplay
--- Physical volume ---
PV Name /dev/sda1
VG Name devil-linux
PV Size 74.53 GB / not usable 577.00 KB
Allocatable yes
PE Size (KByte) 4096
Total PE 19079
Free PE 18695
Allocated PE 384
PV UUID cu1OtB-3OFg-2gTr-k2qW-Y1sJ-YnOS-f3AxGz
root@inetproxy:/etc/lvm # lvm pvscan
/dev/cdrom: open failed: Read-only file system
Attempt to close device '/dev/cdrom' which is not open.
PV /dev/sda1 VG devil-linux lvm2 [74.53 GB / 73.03 GB free]
Total: 1 [74.53 GB] / in use: 1 [74.53 GB] / in no VG: 0 [0 ]
root@inetproxy:/etc/lvm # lvm vgdisplay
--- Volume group ---
VG Name devil-linux
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 8
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 7
Open LV 1
Max PV 0
Cur PV 1
Act PV 1
VG Size 74.53 GB
PE Size 4.00 MB
Total PE 19079
Alloc PE / Size 384 / 1.50 GB
Free PE / Size 18695 / 73.03 GB
VG UUID Yb93a0-T2c0-Vt0T-ieLi-yOg2-EXJl-VVgc0O
root@inetproxy:/etc/lvm # lvm vgs
VG #PV #LV #SN Attr VSize VFree
devil-linux 1 7 0 wz--n- 74.53G 73.03G
root@inetproxy:/etc/lvm # lvm vgscan
Reading all physical volumes. This may take a while...
/dev/cdrom: open failed: Read-only file system
Attempt to close device '/dev/cdrom' which is not open.
Found volume group "devil-linux" using metadata type lvm2
root@inetproxy:/etc/lvm # lvm lvdisplay
--- Logical volume ---
LV Name /dev/devil-linux/log
VG Name devil-linux
LV UUID j0hPbT-WXgT-Sj41-uMkS-3e45-wwhp-HU5e6b
LV Write Access read/write
LV Status available
# open 0
LV Size 256.00 MB
Current LE 64
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:0
--- Logical volume ---
LV Name /dev/devil-linux/spool
VG Name devil-linux
LV UUID p8bxft-bT7I-uOoE-r3s4-zV0r-tYaS-72WuNj
LV Write Access read/write
LV Status available
# open 0
LV Size 256.00 MB
Current LE 64
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:1
--- Logical volume ---
LV Name /dev/devil-linux/squid
VG Name devil-linux
LV UUID B97rDr-dN49-tnI6-hOzq-vEXg-O3JS-FAvgq9
LV Write Access read/write
LV Status available
# open 0
LV Size 512.00 MB
Current LE 128
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:2
--- Logical volume ---
LV Name /dev/devil-linux/data
VG Name devil-linux
LV UUID ZQ0e1s-vDfo-ybG3-TuNB-61tU-8TA8-bFHdoJ
LV Write Access read/write
LV Status available
# open 0
LV Size 128.00 MB
Current LE 32
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:3
--- Logical volume ---
LV Name /dev/devil-linux/opt
VG Name devil-linux
LV UUID UFHNAp-kAU5-OB1N-vTi2-pHJD-nhy6-ubqWa1
LV Write Access read/write
LV Status available
# open 0
LV Size 128.00 MB
Current LE 32
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:4
--- Logical volume ---
LV Name /dev/devil-linux/home
VG Name devil-linux
LV UUID hn9xdN-H5aV-DRWA-UySc-JqHM-k2ac-shrbGY
LV Write Access read/write
LV Status available
# open 0
LV Size 128.00 MB
Current LE 32
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:5
--- Logical volume ---
LV Name /dev/devil-linux/swap
VG Name devil-linux
LV UUID uveONI-KKCg-ezF7-omHU-b80Z-p8px-mgNoZm
LV Write Access read/write
LV Status available
# open 1
LV Size 128.00 MB
Current LE 32
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:6
root@inetproxy:/etc/lvm # lvm lvmdiskscan
/dev/ramdisk [ 11.17 MB]
/dev/devil-linux/log [ 256.00 MB]
/dev/ram [ 11.17 MB]
/dev/sda1 [ 74.53 GB] LVM physical volume
/dev/devil-linux/spool [ 256.00 MB]
/dev/ram2 [ 11.17 MB]
/dev/devil-linux/squid [ 512.00 MB]
/dev/ram3 [ 11.17 MB]
/dev/devil-linux/data [ 128.00 MB]
/dev/ram4 [ 11.17 MB]
/dev/devil-linux/opt [ 128.00 MB]
/dev/ram5 [ 11.17 MB]
/dev/devil-linux/home [ 128.00 MB]
/dev/ram6 [ 11.17 MB]
/dev/devil-linux/swap [ 128.00 MB]
/dev/ram7 [ 11.17 MB]
/dev/ram8 [ 11.17 MB]
/dev/ram9 [ 11.17 MB]
/dev/ram10 [ 11.17 MB]
/dev/ram11 [ 11.17 MB]
/dev/ram12 [ 11.17 MB]
/dev/ram13 [ 11.17 MB]
/dev/ram14 [ 11.17 MB]
/dev/ram15 [ 11.17 MB]
/dev/cdrom [ 277.10 MB]
10 disks
14 partitions
0 LVM physical volume whole disks
1 LVM physical volume
root@inetproxy:/etc/lvm # lvm lvs
LV VG Attr LSize Origin Snap% Move Log Copy% Convert
data devil-linux -wi-a- 128.00M
home devil-linux -wi-a- 128.00M
log devil-linux -wi-a- 256.00M
opt devil-linux -wi-a- 128.00M
spool devil-linux -wi-a- 256.00M
squid devil-linux -wi-a- 512.00M
swap devil-linux -wi-ao 128.00M
root@inetproxy:/etc/lvm # lvm lvscan
ACTIVE '/dev/devil-linux/log' [256.00 MB] inherit
ACTIVE '/dev/devil-linux/spool' [256.00 MB] inherit
ACTIVE '/dev/devil-linux/squid' [512.00 MB] inherit
ACTIVE '/dev/devil-linux/data' [128.00 MB] inherit
ACTIVE '/dev/devil-linux/opt' [128.00 MB] inherit
ACTIVE '/dev/devil-linux/home' [128.00 MB] inherit
ACTIVE '/dev/devil-linux/swap' [128.00 MB] inherit
What can I do with it???
I need LVM for using SQUID cache...
Thanks for all in advance!!!
Best regards, Anton.
|